Browse Source

commented out for now

pull/914/head
Daniel Gibbs 9 years ago
parent
commit
7b2e09c205
  1. 12
      lgsm/functions/check_permissions.sh

12
lgsm/functions/check_permissions.sh

@ -18,12 +18,12 @@ conclusionpermissionerror="0"
fn_check_ownership(){ fn_check_ownership(){
# Check script ownership # Check script ownership
if [ ! -O "${scriptfullpath}" ] && [ ! -G "${scriptfullpath}" ]; then #if [ ! -O "${scriptfullpath}" ] && [ ! -G "${scriptfullpath}" ]; then
fn_print_fail_nl "Oops ! Ownership issue..." # fn_print_fail_nl "Oops ! Ownership issue..."
echo " * Current - ${currentuser} - user or its group(s) - ${currentgroups} - does not own \"${selfname}\"" # echo " * Current - ${currentuser} - user or its group(s) - ${currentgroups} - does not own \"${selfname}\""
echo " * To check the owner and allowed groups, run ls -l \"${selfname}\"" # echo " * To check the owner and allowed groups, run ls -l \"${selfname}\""
exit 1 # exit 1
fi #fi
# Check rootdir ownership # Check rootdir ownership
if [ ! -O "${rootdir}" ] && [ ! -G "${rootdir}" ]; then if [ ! -O "${rootdir}" ] && [ ! -G "${rootdir}" ]; then

Loading…
Cancel
Save