Project

General

Profile

Bug #256

rmdir: empty: Operation not permitted

Added by elekktretterr over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%


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 almost 11 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