Results 1 to 6 of 6
In slackware when I cd to /sbin cannot do ls -al
It says permission dennied.
Please some one help....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-11-2005 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 4
cannot run ls in /sbin
In slackware when I cd to /sbin cannot do ls -al
It says permission dennied.
Please some one help.
- 08-11-2005 #2
As a normal user you may not have permission to view the contents of /sbin, since that directory contains commands only accessible by the root user. Why do you need to see the contents of /sbin?
Registered Linux user #270181
TechieMoe's Tech Rants
- 08-11-2005 #3
Are you logged in as root? Because non-root users won't have appropriate permissions.
Yeah, I just figured it out...
/sbin has the execute permission set for whoever you're logged in as. That means that you can enter the folder.
However, it has the read permission turned off, so you can't read the files inside (which is what ls does).
- 08-11-2005 #4Just Joined!
- Join Date
- Aug 2005
- Posts
- 4
I am logged in as root. When I run ls I get /usr/bin/ls
permission denied. also when I run netconfig to
configure the network at the end I get no space in /sbin/cat
What is a quick way to fix the permissions for /sbin
Thanks
in advance.
- 08-12-2005 #5Linux Newbie
- Join Date
- Apr 2005
- Location
- CT --> PA
- Posts
- 170
su root
Chicks dig giant mechanized war machines
- 08-12-2005 #6Just Joined!
- Join Date
- Aug 2005
- Location
- China
- Posts
- 10
check your PATH by type
Code:#echo $PATH


Reply With Quote
