Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux RedHat permission denied

Status
Not open for further replies.

gurner

Technical User
Feb 13, 2002
522
US
I have inherited a pre-built Linux RedHat 9 box, with preconfigured user account e.t.c.

i will admit it is the first time i have worked on Linux, and would like to believe i am picking it all up very quickly. But one thing is very frustrating, which most of you will find extremely simple.

I have managed to ge Firefox on it and working on our W2k3 domain through a proxy, mostly with the apps already on it, which was fortunate.

However, Firefox besides, which is running from the home directory, i am trying to install some apps of my own, such as DriverLoader for use of a Belkin USB device, e.t.c.

However, logged on as the configured account i try.

tar -xzf driverloader-2.27.tar.gz
cd driverloader-2.27
make install

but this is where it goes wrong, i get permission denied when it trys to make a directory on the root.

I have tried typing in the root password, fortunately i know it. but running the last command from a terminal still comes up with Permission Denied.

What i'm having problems figuring out is how to elevate the accounts permissions, or run the command as something with sufficent permissions.

I'm pretty sure it is very simple, but so is my Linux knowledge, and any help is greatly recieved.

Regards

(a Cisco and M$ admin type)

Gurner

 
Hrm, don't know what driverloader wants to install, but here are a few tips....

"su -" or "sudo su" are ways to elevate your account session to be root user. This solves 99% of the issues that you might be encountering. "root" can do just about anything.

That said, it is possible to mark a folder as non-executable which has the effect of it not being readable. You can also mark a folder non-writable. You can ALSO mark something "indellible" (sp?) which has the effect of making it VERY unwritable such that root cannot overwrite the file.

These are all permissions based upon use of the "chmod" and "chattr" commands.

Read up on those....

D.E.R. Management - IT Project Management Consulting
 
Cheers, i'll give that a go.

after the Make Install it comes up with Permission Denied after the line

mkdir -m 755 -p /user/lib/driverloader/modules

so just i would assume insufficent permissions to create the directory.

Gurner

 
cheers, worked a treat, definately seemed so simple, when you know how.

must read up on commands

now to try and configure this driverloader app, ha



Gurner

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top