LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 09-19-2006, 11:26 AM   #1
ecko!
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
CHMOD Command Issues


Sup Guys

I am currently trying to CHMOD a directory (entire directory) to 777. I type the following command

chmod 777 -R aDirectory/

I get the following prompt

"forums/anotherDirectory/anything.php" : Operation Not Permitted
etc
etc
etc
etc

Then of course it does not complete it's course. How do I set the permission I am assuming to the directory so I can have the ability to chmod an entire directory?? uhm.. that sound like the same Q.. lol u guys get the point

Note: I know it's bad to chmod everything but I need this for now. Ill go back later to fix it.

Thanks Guys!!
 
Old 09-19-2006, 11:42 AM   #2
J0ma
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Rep: Reputation: 0
Are you root? Use sudo

If u are, then i will let others help you, 'cause i cant

Cheers,
J0ma
 
Old 09-19-2006, 11:48 AM   #3
ecko!
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Original Poster
Rep: Reputation: 0
No I am not root I am getting my hosting from a hosting company. But I appreciate it bro.
 
Old 09-19-2006, 12:22 PM   #4
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
Well then the directory may not be owned by you...

I'd try chowning the directory first:
Code:
chown user:group -R aDirectory/
chmod 777 -R aDirectory/
Remember that the -R on chmod and chown will recurse _all_ the way in, and so you might be hitting folders you were not expecting too. If you do have sudo access, just put sudo in front of either of those commands.

btw, I don't fully know the situation, but remember that 777 makes the directory totally open to anyone on the system. It may be overkill when a 655 or the like make work.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
CHMOD Command dudeman41465 Linux - Software 1 09-26-2005 03:29 AM
CHMOD Issues Kenji Miyamoto Linux - General 3 12-31-2004 07:45 AM
chmod command linuxtesting2 Linux - Newbie 2 09-03-2004 01:02 PM
Chmod issues.... LinuxBAH Linux - General 6 06-25-2003 11:26 AM
Chmod command gogo Linux - General 2 09-24-2002 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:35 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration