Odd Filesystem Behavior

Kevin L. Kane kevin.kane at gmail.com
Sat Mar 25 08:14:32 PST 2006


I'm running 1.5.2 with all the changes to the FS system(BUF/IO?) stuff.

prometheus# ls -la
total 3
drwxr-xr-x  3 root  wheel  512 Mar 25 10:24 .
drwxr-xr-x  3 root  wheel  512 Mar 25 10:14 ..
dr-xr-xr-x  2 root  wheel  512 Mar  2 16:03 empty
prometheus# chmod u+w empty/
chmod: empty/: Operation not permitted
prometheus# rm -rf empty/
recursively remove empty/? y
rm: empty/: Operation not permitted
prometheus# rmdir empty/
rmdir: empty/: Operation not permitted
prometheus# whoami
root


I was very surprised by my not being able to delete or modify the
perms on this file.  Also:

prometheus# ls
empty
prometheus# ln -s empty/ symlink
prometheus# ls -la
total 3
drwxr-xr-x  3 root  wheel  512 Mar 25 10:32 .
drwxr-xr-x  3 root  wheel  512 Mar 25 10:14 ..
dr-xr-xr-x  2 root  wheel  512 Mar  2 16:03 empty
lrwxr-xr-x  1 root  wheel    6 Mar 25 10:32 symlink -> empty/
prometheus# rm -rf symlink/
recursively remove symlink/? y
rm: symlink/: Operation not permitted
prometheus# ls -la
total 3
drwxr-xr-x  3 root  wheel  512 Mar 25 10:32 .
drwxr-xr-x  3 root  wheel  512 Mar 25 10:14 ..
dr-xr-xr-x  2 root  wheel  512 Mar  2 16:03 empty
lrwxr-xr-x  1 root  wheel    6 Mar 25 10:32 symlink -> empty/
prometheus# whoami
root
prometheus#






More information about the Bugs mailing list