Wednesday 25 June 2008

Changing File Permissions in Linux

If you want to give read permissions, use the command:

chmod 744 yourfile
to give execute permissions*, use the command:
chmod 755 yourfile
to give read/write permissions, use the command:
chmod 766 yourfile
to give all permissions, use the command:
chmod 777 yourfile

No comments:

Post a Comment