'execute' Permission To Everyone On A file in ~/bin
- Create a file with 'execute' access to everyone, in directory "bin" under
our home directory:
- Put the program file in the directory "bin" under our home directory.
- Give 'execute' access to "User-owner", "Group-owner",
and "Others":
chmod a+x <file_name>
- Give 'x' access to our home directory, so the Users will be able to
reach for the "bin" directory under it:
chmod a+x ~
- Give 'x' access to our "bin" directory, so the Users will be able to
reach for the program file located in it:
chmod a+x ~/bin
Originally written by
guy keren