previous | start | next

Example

Suppose the current directory (".") contains two subdirectories A and B

Suppose users tom and sue are members of the adm group, but charles is not.

bash-3.2$ ls -lR
.:
total 8
drwxr-xr-x 2 tom adm 4096 Jul 21 16:49 A/
drwxr----- 2 tom adm 4096 Jul 21 16:50 B/

./A:
total 4
-rw-rw-rw- 1 tom adm  984 Jul 21 16:49 x

./B:
total 8
-r--rw-rw- 1 tom adm  302 Jul 21 16:50 x
-rw----rw- 1 sue adm  445 Jul 21 16:50 y
   

May charles list the contents of directory A?
May chalres read A/x?
May sue list the contents of directory B?
May sue modify B/y?
May tom modify B/x?
May tom modify B/y?



previous | start | next