Link to home
Start Free TrialLog in
Avatar of sayeth
sayeth

asked on

Unix: owner of directory cannot Write to directory?

Hi All,

I am the owner of a directory in Unix (really Mac OS X, but should be the same thing).  And I get a "Permission Denied" error when I try to write to that directory.

I believe I am the owner of the directory because it gives me the following output when i do ls -l

dr-xr-xr-x  158 jusTellme staff  16384 Apr 29 21:38 Videos

And when I do whoami, I get:

jusTellme

So, when I try to write a file to that directory, it gives me a an access denied error.

But when I do   chmod 777 Videos, so that I can write to that directory, I get:

chmod: Movies - Unwatched/: Permission denied


So, I believe I am the owner of the directory, but I cannot write to the directory.  I am trying to change the permissions but no luck.  Is there another way to change the permissions or a tool/script that I can use to change them so that I can write to this directory again?

Please help...


Avatar of jbeasle3
jbeasle3
Flag of United States of America image

You have to be logged in as super user to change the permissions for that directory because the permissions as they stand now say that no one can write to it (even the owner)..
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial