How do you copy permissions in Linux?

Thu Ha

New member
How do you copy permissions in Linux?
Answer
To copy file permissions from one file to another file, use chmod command with the –reference switch in the following syntax, where reference_file is the file from which permissions will be copied rather than specifying mode (i.e octal or numerical mode permissions) for file.
 

Tìm kiếm

Back
Top