Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 345 Bytes

chmod.md

File metadata and controls

12 lines (12 loc) · 345 Bytes

chmod

chmod on a link

this interesting section says:

-h, --no-dereference
          affect symbolic links instead of any referenced file (useful only on systems that can change the ownership of a symlink)

So a brief:

sudo chown -h asterisk:asterisk mylinkfile

Assigns to asterisk:asterisk the symbolic link file only