[PATCH] afs: proc cells and rootcell are writeable
David Howells
dhowells at redhat.com
Thu Jan 30 19:20:02 EST 2014
Further:
[root at andromeda ~]# touch /tmp/foo
[root at andromeda ~]# chmod 0444 /tmp/foo
[root at andromeda ~]# ls -l /tmp/foo
-r--r--r--. 1 root root 0 Jan 31 00:17 /tmp/foo
[root at andromeda ~]# echo hello >/tmp/foo
[root at andromeda ~]# ls -l /tmp/foo
-r--r--r--. 1 root root 6 Jan 31 00:17 /tmp/foo
[root at andromeda ~]#
But:
[root at andromeda ~]# su - dhowells
[dhowells at andromeda ~]$ touch /tmp/bar
[dhowells at andromeda ~]$ chmod 0444 /tmp/bar
[dhowells at andromeda ~]$ ls -l /tmp/bar
-r--r--r--. 1 dhowells dhowells 0 Jan 31 00:19 /tmp/bar
[dhowells at andromeda ~]$ echo hello >/tmp/bar
-bash: /tmp/bar: Permission denied
David
More information about the linux-afs
mailing list