View Permissions Command
You can use the command ls-ld to view the permissions on the directory, or use Ls-la directly
Such as
Ls-l www.jb51.net//This means viewing the www.jb51.net directory
Modify Permissions Command
chmod 777 File name
1.chmod 577/home/stuser-r
2.umask-p 0200
3.chown xxxx YYYY (xxxx is user name YYYY filename)
Permissions List
-RW-------(600) Only the owner has read and write permissions
-rw-r--r--(644) Only the owner has read and write permissions, and the group and other people only have Read permissions
-RWX------(700) Only the owner has read, write, execute permissions
-rwxr-xr-x (755) Only the owner has read, write, execute permissions, groups and other people only read and Execute permissions
-rwx--x--x (711) Only the owner has read, write, execute permissions, groups and other people only execute the permissions
-rw-rw-rw-(666) Everyone has access to read and write
-RWXRWXRWX (777) Everyone has access to read and write and execute
How to view file permissions and modify file permissions under Linux