Solved

Unix: owner of directory cannot Write to directory?

Posted on 2009-06-28
2
326 Views
Last Modified: 2013-12-26
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...


0
Comment
Question by:sayeth
2 Comments
 
LVL 3

Expert Comment

by:jbeasle3
ID: 24732493
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)..
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 125 total points
ID: 24732511
Hi again,
please check ownership/permissions of the directory above 'Videos'. You need write permission there. Use chown or chmod, use sudo ... if needed.

wmp
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now