'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