Browse Source

Removed logfile ACL control

paologalli 4 years ago
parent
commit
aa62f49c5f
1 changed files with 0 additions and 6 deletions
  1. 0 6
      lcmlog-server-utils

+ 0 - 6
lcmlog-server-utils

@@ -130,7 +130,6 @@ method_authlookup()
 		getfacl $DIR/data
 		getfacl $DIR/data/.data
 		getfacl $DIR/logs
-		getfacl $DIR/logs/logfile
 
 	else
 		echo "auth folder not present. Use the -i option to create it."
@@ -169,7 +168,6 @@ method_updateACL()
 		setfacl -b $DIR/data
 		setfacl -b $DIR/data/.data
 		setfacl -b $DIR/logs
-		setfacl -b $DIR/logs/logfile
 
 		# add new permissions
 		echo "Setting up new permissions..."
@@ -179,7 +177,6 @@ method_updateACL()
 			setfacl -m u:$uid:rwx $DIR/data
 			setfacl -m u:$uid:rw $DIR/data/.data
 			setfacl -m u:$uid:rwx $DIR/logs
-			setfacl -m u:$uid:rw $DIR/logs/logfile
 		done
 
 		# set admin
@@ -187,7 +184,6 @@ method_updateACL()
 			setfacl -m u:$uid:rwx $DIR/data
 			setfacl -m u:$uid:rw $DIR/data/.data
 			setfacl -m u:$uid:rwx $DIR/logs
-			setfacl -m u:$uid:rw $DIR/logs/logfile
 		done
 		
 		# set ex 150
@@ -195,7 +191,6 @@ method_updateACL()
 			setfacl -m u:$uid:rx $DIR/data
 			setfacl -m u:$uid:r $DIR/data/.data
 			setfacl -m u:$uid:rwx $DIR/logs
-			setfacl -m u:$uid:rw $DIR/logs/logfile
 		done
 		
 		# set ex admin
@@ -203,7 +198,6 @@ method_updateACL()
 			setfacl -m u:$uid:rwx $DIR/data
 			setfacl -m u:$uid:rw $DIR/data/.data
 			setfacl -m u:$uid:rwx $DIR/logs
-			setfacl -m u:$uid:rw $DIR/logs/logfile
 		done
 
 		echo "Done."