A cluster node configuration file permissions are changed

Each node cluster configuration file, and the permissions are the same, today, a colleague permission to change the time, time chmod 755 yumsource / directory, to pay more a -R, resulting in a recursive change the permissions appear abnormal

 

Like the current file is different permissions, do the following

getfacl get the current file permissions normal system, to recover with setfacl on another machine. 
the getfacl -R & lt / the root / Test> acl.bak 
the acl.bak file copy over 
the setfacl --restore acl.bak

Another way, if the file is also a problem, directly extract the tar package, file permissions are the same



Guess you like

Origin www.cnblogs.com/augusite/p/11976773.html
Recommended