DragonFly BSD
DragonFly bugs List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Odd Filesystem Behavior


From: "Kevin L. Kane" <kevin.kane@xxxxxxxxx>
Date: Sat, 25 Mar 2006 10:37:04 -0500

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#




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]