As the subject says the following can be used to copy the permission settings from one file to another
chmod –reference <reference-file> <target-file>
Example: chmod –reference <tobecopied.txt> <destination.txt>
As the subject says the following can be used to copy the permission settings from one file to another
chmod –reference <reference-file> <target-file>
Example: chmod –reference <tobecopied.txt> <destination.txt>
Leave a Reply