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)
Hasznosnak találta ezt a választ? 0 A felhasználók hasznosnak találták ezt (0 Szavazat)