Skip to content

Commit

Permalink
Should address potential security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mastacontrola committed Jun 24, 2024
1 parent 232ac34 commit 9c1eed7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/common/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ configureNFS() {
mv -fv "${nfsconfig}" "${nfsconfig}.${timestamp}" >>$error_log 2>&1
userId=$(id -u $username)
groupId=$(id -g $username)
echo -e "$storageLocation *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,all_squash,anonuid=${userId},anongid=${groupId},fsid=0)\n$storageLocation/dev *(rw,async,no_wdelay,no_subtree_check,all_squash,anonuid=${userId},anongid=${groupId},fsid=1)" > "$nfsconfig"
echo -e "$storageLocation *(ro,sync,no_wdelay,subtree_check,insecure_locks,all_squash,anonuid=${userId},anongid=${groupId},fsid=0)\n$storageLocation/dev *(rw,async,no_wdelay,subtree_check,all_squash,anonuid=${userId},anongid=${groupId},fsid=1)" > "$nfsconfig"
diffconfig "${nfsconfig}"
errorStat $?
dots "Setting up and starting RPCBind"
Expand Down
2 changes: 1 addition & 1 deletion lib/redhat/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ case $linuxReleaseName_lower in
[[ -z $packmanUpdate ]] && packmanUpdate="urpmi.update -a"
[[ -z $dhcpname ]] && dhcpname="dhcp-server"
[[ -z $tftpdirdst ]] && tftpdirdst="/var/lib/tftpboot"
[[ -z $nfsexportsopts ]] && nfsexportsopts="no_subtree_check"
[[ -z $nfsexportsopts ]] && nfsexportsopts="subtree_check"
[[ -z $etcconf ]] && etcconf="/etc/httpd/conf/conf.d/fog.conf"
;;
*)
Expand Down
2 changes: 1 addition & 1 deletion packages/web/lib/fog/system.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private static function _versionCompare()
public function __construct()
{
self::_versionCompare();
define('FOG_VERSION', '1.5.10.29');
define('FOG_VERSION', '1.5.10.30');
define('FOG_SCHEMA', 270);
define('FOG_BCACHE_VER', 140);
define('FOG_CLIENT_VERSION', '0.13.0');
Expand Down

0 comments on commit 9c1eed7

Please sign in to comment.