Daniel Gibbs 10 лет назад
Родитель
Сommit
7b2e09c205
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      lgsm/functions/check_permissions.sh

+ 6 - 6
lgsm/functions/check_permissions.sh

@@ -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