|
|
@@ -18,12 +18,12 @@ conclusionpermissionerror="0"
|
|
|
|
|
|
fn_check_ownership(){
|
|
|
# Check script ownership
|
|
|
- if [ ! -O "${scriptfullpath}" ] && [ ! -G "${scriptfullpath}" ]; then
|
|
|
- fn_print_fail_nl "Oops ! Ownership issue..."
|
|
|
- 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}\""
|
|
|
- exit 1
|
|
|
- fi
|
|
|
+ #if [ ! -O "${scriptfullpath}" ] && [ ! -G "${scriptfullpath}" ]; then
|
|
|
+ # fn_print_fail_nl "Oops ! Ownership issue..."
|
|
|
+ # 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}\""
|
|
|
+ # exit 1
|
|
|
+ #fi
|
|
|
|
|
|
# Check rootdir ownership
|
|
|
if [ ! -O "${rootdir}" ] && [ ! -G "${rootdir}" ]; then
|