Bug #256

rmdir: empty: Operation not permitted

Added by elekktretterr over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

I cant delete a directory called empty.

porncatalog# rmdir empty
rmdir: empty: Operation not permitted

porncatalog# rm -rf empty
recursively remove empty? y
rm: empty: Operation not permitted

porncatalog# ls -la
total 6
drwxr-xr-x 3 root wheel 512 Jul 23 18:44 .
drwxr-xr-x 3 root wheel 512 Jul 23 18:44 ..
dr-xr-xr-x 2 root wheel 512 Jul 22 18:34 empty

Im su root.

Whats the problem?

History

#1 Updated by corecode over 7 years ago

[...]
> Whats the problem?

# ls -ldo empty
dr-xr-xr-x 2 root wheel schg 512 Apr 3 2003 empty

i bet it is chflag(1) schg.

cheers
simon

Also available in: Atom PDF