Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone thing of a reason why OS X would not allow me to do this? I seem to have total permissions...

new-host-4:Desktop michael$ whoami
new-host-4:Desktop michael$ ls -ltdr 2008_12_12/
drwxrwxrwx+ 5 michael  wheel  170 Mar 28 18:23 2008_12_12/
new-host-4:Desktop michael$ mv 2008_12_12/ foo
mv: rename 2008_12_12/ to foo: Permission denied
new-host-4:Desktop michael$ 

Thanks! /YGA

share|improve this question
up vote 2 down vote accepted

1) Renaming a file is considered a modification of the directory it is in. What does...

ls -lde .

...tell you about your ability to modify the directory you're in (apparently "Destkop")?

2) There could already be a "foo" in the directory you're in, and you might not have privileges to replace it. What does...

ls -lde foo

...tell you?

3) The "+" at the end of the permissions for "2008_12_12/" means it has an ACL (Access Control List == additional permissions/restrictions) attached. What does...

ls -lde 2008_12_12

...tell you?

share|improve this answer
Very nice... the answer was #3! – YGA Mar 29 '10 at 2:54

In OSX depending on where the directory is located you need to sudo the operation. I think if it's outside your home directory (/Users/[user] or ~), it requires sudo.

share|improve this answer
It seems to be on his desktop: new-host-4:Desktop michael$ – Felix Mar 28 '10 at 23:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.