Computing.Net > Forums > Linux > permission denied as root??

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

permission denied as root??

Reply to Message Icon

Name: Chris
Date: June 1, 2002 at 21:18:14 Pacific
Comment:

I am reading "Learning the Bash Shell" from O'Reilly. I have run a few commands (from the root account) and I will occaisionally get a "permission denied" when i run different commands. It doesn't matter if I login as root, or I su - to root. Why am I getting permission denied on anything when I am logged in as root? I figured at root I should be able to access anything on the server. I am running Red Hat 7.2 kernel version 2.4.7-10, and Bash version 2.05-8



Sponsored Link
Ads by Google

Response Number 1
Name: ronen
Date: June 2, 2002 at 00:06:57 Pacific
Reply:

i also got errors like that, the reason is , is i assume, that there are some groups for the system that root is not a member and don't need to reach.


0

Response Number 2
Name: Tom
Date: June 2, 2002 at 03:40:06 Pacific
Reply:

Well if root owns the file, and user only has read and write access (chmod 600), then you can't even execute it as root. User needs execute permission (even if user is root) to be able to execute the file.


0

Response Number 3
Name: Barry J. Grundy
Date: June 2, 2002 at 04:17:28 Pacific
Reply:

Can you give us an example? That would be easier than guessing the problem...


0

Response Number 4
Name: NetPortal
Date: June 2, 2002 at 07:35:07 Pacific
Reply:

Actually, if you does not setup an execute permission for the file, you will not be able to execute it even tough you are root. But as a root, you can setup any privileges you like for yourself and for any others… that is you powerful ;)

...but don’t forget about LIDS, of course ;)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: permission denied as root??

permissions denied as root www.computing.net/answers/linux/permissions-denied-as-root/23996.html

Linux shell execution permission www.computing.net/answers/linux/linux-shell-execution-permission/28366.html

bad interpreter: permission denied www.computing.net/answers/linux/bad-interpreter-permission-denied/23189.html