LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 01-29-2010, 04:41 PM   #1
theWolve
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Chmod , permission denied


I was attempting to get Fable:The Lost Chapters installed on my computer and one of the tips was to copy the contents of the disk over to my machine and then install from there. Having tried this and failed once again I went to delete it only to find that I can not.
Attempting everything from:
sudo chmod 666 -R Fable
to
plain old ls
I can not read this directory, I can not edit its permissions and I can not even view it's contents.
i.e

jenny@Jennys-laptop:~$ ls -l Fable/
ls: cannot access Fable/directx9: Permission denied
ls: cannot access Fable/Fable - The Lost Chapters: Permission denied
ls: cannot access Fable/0x0409.ini: Permission denied
ls: cannot access Fable/Autorun.inf: Permission denied
ls: cannot access Fable/00001.tmp: Permission denied
ls: cannot access Fable/00002.tmp: Permission denied
ls: cannot access Fable/Disk1C~1.cab: Permission denied
ls: cannot access Fable/manuals: Permission denied
ls: cannot access Fable/autorun.exe: Permission denied
total 0
-????????? ? ? ? ? ? 00001.tmp
-????????? ? ? ? ? ? 00002.tmp
-????????? ? ? ? ? ? 0x0409.ini
-????????? ? ? ? ? ? autorun.exe
-????????? ? ? ? ? ? Autorun.inf
d????????? ? ? ? ? ? directx9
-????????? ? ? ? ? ? Disk1C~1.cab
d????????? ? ? ? ? ? Fable - The Lost Chapters
d????????? ? ? ? ? ? manuals

Does anyone have any suggesting on how to remove this?
 
Old 01-29-2010, 04:55 PM   #2
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 669

Rep: Reputation: 94
can you try ls -l -d Fable for getting its permissions with ownerships?
 
Old 01-29-2010, 05:32 PM   #3
theWolve
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
drw-rw-rw- 5 jenny jenny 4096 2010-01-29 22:18 Fable

That's what I get.

Last edited by theWolve; 01-29-2010 at 05:33 PM.
 
Old 01-29-2010, 05:39 PM   #4
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 669

Rep: Reputation: 94
chmod +x Fable
 
Old 01-29-2010, 07:54 PM   #5
theWolve
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Set to execute as well now, sorry thought I had done that before posting (had done 666 which didn't work for some reason I guess) . It still reports a permission denied error when trying to recurse chmod through its' sub-directories though.
 
Old 01-29-2010, 08:47 PM   #6
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by theWolve View Post
Set to execute as well now, sorry thought I had done that before posting (had done 666 which didn't work for some reason I guess) . It still reports a permission denied error when trying to recurse chmod through its' sub-directories though.
666 only sets read and write permissions for everyone (not executable). The new errors are likely due to non-executable permissions on the subsequent directories. The simplest way to proceed here might just be to set 755 permissions on all the directories (assuming that is acceptable to you). You could do that with a command like:
Code:
find ./Fable -type d -exec chmod 755 {} \;
Of course, you should adjust the permissions depending on how restrictive you want to be.

Last edited by win32sux; 01-29-2010 at 08:50 PM.
 
Old 01-29-2010, 10:06 PM   #7
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX
Posts: 565

Rep: Reputation: 57
what about doing the chmod with sudo or root. It won't change ownership, just permissions.

Code:
sudo chmod -R 766 Fable
 
  


Reply

Tags
access, chmod, denied, permission


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission denied even with chmod 777 Zabrajin Linux - Newbie 19 02-06-2011 07:40 AM
why "permission denied" though chmod 666? baosheng Linux - Networking 12 10-10-2005 11:40 PM
BIND 9 Permission denied when chmod is 777 o_O KasperLotus Linux - Networking 10 09-07-2005 12:20 AM
BIND 9 Permission denied when chmod is 777 o_O KasperLotus Linux - Software 0 08-28-2005 11:42 PM
chmod : permission denied onebyone Linux - Software 4 01-27-2004 02:29 PM


All times are GMT -5. The time now is 08:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration