16. File Permission
16. File Permission
1. - normal file
2. d directory
5. l link file
6. s socket file
6. link count
file
directory
red
[root@localhost ~]# useradd peppa user peppa has others permission on directory
/home/peppa
[peppa@localhost ~]$ ll
total 0
[peppa@localhost ~]$ ll
total 0
/data
[peppa@localhost data]$ touch apple user does not have write permission on
directory /data
[peppa@localhost data]$ ls user can list the content, bcoz other user has read
permission on directory
red
[peppa@localhost data]$ ls
red
logout
[root@localhost ~]#
[root@localhost ~]#