Browse Source

Updated method updateACL

Paolo Galli 4 years ago
parent
commit
9da9c5ac44
1 changed files with 6 additions and 0 deletions
  1. 6 0
      lcmlog-server-utils

+ 6 - 0
lcmlog-server-utils

@@ -88,6 +88,9 @@ method_authlookup()
 {
 	if [ -d $DIR/auth ]; then
 		
+		echo "AUTHORIZATIONS in $DIR/auth:"
+		echo
+		
 		# look 150
 		echo -e "\033[1;36m150 auth:\033[0;36m GET 150, GET Admin, POST 150\033[00m"
 		for uid in $(awk '{print $1}' $DIR/auth/150); do
@@ -115,8 +118,11 @@ method_authlookup()
 			getent passwd $uid
 		done
 		echo
+		echo
 		
 		# look dir permissions
+		echo "FOLDER PERMISSIONS:"
+		echo
 		getfacl $DIR/data
 		getfacl $DIR/logs