jerry% mkdir share
jerry% chmod 1777 share
jerry% ls -ld share
drwxrwxrwt 2 jerry ora 32 Nov 19 10:31 share
Other people create files in it. When jennifer
tries to remove a file that belongs to ellie,
she can't:
jennifer% ls -l
total 2
-rw-r--r-- 1 ellie ora 120 Nov 19 11:32 data.ellie
-rw-r--r-- 1 jennifer ora 3421 Nov 19 15:34 data.jennifer
-rw-r--r-- 1 peter ora 728 Nov 20 12:29 data.peter
jennifer% rm data.ellie
data.ellie: override 644 mode ? y
rm: data.ellie not removed.
Permission denied
-- JP
 |  |  |
50.3. Who Will Own a New File? |  | 50.5. Using chmod to Change File Permission |