Nguyễn Đức Thành
New member
How do I compare file permissions in Linux?
Answer
One way to compare permissions on your two directories is to capture the output of ls -al to a file for each directory and diff those. Say you have two directories called a and b. Either way, just capture the results to two files as described above and use diff or sdiff to compare the results.
Answer
One way to compare permissions on your two directories is to capture the output of ls -al to a file for each directory and diff those. Say you have two directories called a and b. Either way, just capture the results to two files as described above and use diff or sdiff to compare the results.