Add write permissions to the current user:
chmod u+w file
Add read permissions to users in the file group:chmod g+r file
Add execute permissions to other users:
chmod o+x file
Add read + write permissions to all users:
chmod a+rw file
Make executable files executable by all:
chmod a+rX *
Make the whole directory and its contents accessible by all users: 
chmod -R a+rX dir (recursive)
Was this answer helpful? 0 Users Found This Useful (0 Votes)