cant delete file as root?

Mathias Menzel-Nielsen matze at matzsoft.de
Wed May 17 16:38:10 PDT 2006


Hi

Could someone explain me whats going on here?

8<--8<
hyperkobold# rm -f /lib/libpthread.so.2
rm: /lib/libpthread.so.2: Operation not permitted

hyperkobold# ls -lah /lib/libpthread.so.2
-r--r--r--  1 root  wheel   159K  1 Mai 23:53 /lib/libpthread.so.2

hyperkobold# chmod u+rw /lib/libpthread.so.2
chmod: /lib/libpthread.so.2: Operation not permitted

hyperkobold# stat /lib/libpthread.so.2
103 1012779 -r--r--r-- 1 root wheel 4050520 162688 "May 18 01:36:33 
2006" "May  1 23:53:56 2006" "May  1 23:53:56 2006" "May  1 23:53:56 
2006" 4096 320 0x20000 /lib/libpthread.so.2
8<--8<




More information about the freebsd-questions mailing list