Web Server Administration: File Permissions
File Permissions
bigmoose (31) chmod 700 config.shbigmoose (32) ls -l config.sh-rwx------ 1 ericl 40 Aug 23 16:21 config.sh
The first number is for user (owner), second is for group and third is other
So to give rwx to the user only:
bigmoose (31) chmod 755 config.shbigmoose (32) ls -l config.sh-rwxr-xr-x 1 ericl 40 Aug 23 16:21 config.sh
To give rwx to user, and rx to group and other: