'read' Permission To Everyone On A File
- Create a File with 'read' access to everyone, in our home Directory:
- Create the File in the home Directory.
- Give 'read' access to "User-owner", "Group-owner", and "Others":
chmod a+r <file_name>
(Note: 'a' is a short-hand for "all" - i.e. "User-owner",
"Group-owner" and "Others")
- Give 'x' access to our home Directory, so the Users will be able to
reach for Files in it:
chmod a+x ~
(Note: '~' is a short-hand for our home Directory)
Originally written by
guy keren