fix permissions for /run/lock
If /run/lock is a directory, set the ownership and permissions for it, whether or not we created the directory.
This commit is contained in:
		@@ -106,6 +106,8 @@ if [ -d /run ]; then
 | 
			
		||||
	fi
 | 
			
		||||
	if [ ! -d /run/lock ]; then
 | 
			
		||||
		mkdir /run/lock
 | 
			
		||||
	fi
 | 
			
		||||
	if [ -d /run/lock ]; then
 | 
			
		||||
		chown root:uucp /run/lock
 | 
			
		||||
		chmod 0775 /run/lock
 | 
			
		||||
	fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user