Solved

Unix: owner of directory cannot Write to directory?

Posted on 2009-06-28
2
339 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month10 days, 11 hours left to enroll

628 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