LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-15-2008, 08:21 AM   #1
EpicOfChaos
LQ Newbie
 
Registered: Oct 2008
Location: Ogden, Utah
Distribution: Ubuntu Server 8.10
Posts: 18

Rep: Reputation: 0
Permission Denied to Super User?


Hey Guys,
Here is the problem with my super user account I try to access a folder who belongs to another user and another group, but it won't let me in there. Maybe I just don't understand the heiarchy but to me a super user should beable to access any directory.
 
Old 10-15-2008, 08:44 AM   #2
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 42
What are the permissions of that folder? do a:

ls -l /path/to/folder


Can the folder owner access that folder?
What errors do you get when you try to access it with your Super User?

If the directory is not executable at any level then no one will be able to access the directory.
 
Old 10-15-2008, 10:28 AM   #3
cygnal
LQ Newbie
 
Registered: May 2007
Distribution: Slackware/Debian
Posts: 26

Rep: Reputation: 15
Try

stat /path/to/directory

Using ls -l will get you long listings of all the contents of the directory in question, but no relevant info on the directory itself, unless you include -a, in which case the "." entry (at the very top) is the one you want to look at. Stat just gives you less output to sift thru. The most common reason for a superuser getting 'Permission Denied' errors is trying to run a script that doesn't have the executable bit set; directories can still be traversed into as root even if all execute permissions are removed (at least on Fedora and Debian). Post the results of the above command and the error message you get when trying to cd into the directory as root?
 
  


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
permission denied as root user tuluks Suse/Novell 6 12-18-2006 01:53 AM
whatever a non-root user does, he gets 'permission denied'. boazg Linux - Software 2 08-05-2005 08:17 AM
Permission denied for root user shujja Linux - Newbie 7 07-05-2005 03:29 AM
super root-tail 'permission denied' IamDaniel Linux - Software 0 01-30-2005 10:02 PM
Permission denied using a user? SLACKER Alinuxnoob Linux - Newbie 7 10-05-2004 11:20 AM


All times are GMT -5. The time now is 05:14 AM.

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