Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to Linux, but am convinced that it is the way of the future. However, getting used to its rules and procedures are not as clear as Windows as of yet. But given time…..
This is my situation:
I am attempting to install a program, and the instructions say to create a file in a directory called USR. When I attempt to do this, a box appears and says in so many words that I don’t have the permissions to do that. I am logged in as the administrator (ROOT) but it will not comply. My operating system is Red Hat Linux 9.0:
1. Is there an indicator I may use to indicate if I am in administrator mode with all permissions?
2. Are there certain directories that will not permit any changes?
3. HELP!!!
The directory is more likely to be called /usr. It's important to remember that in Linux, unlike Windows, case is important. USR is different to usr and different again to Usr.
What exactly does INSTALL say? (And what program?) It's odd for a program to expect manual file creation (though not unheard of) as the install target for make usually takes care of all that. As far as why you'd be denied as regular user, obviously no permissions to write to the directory. As root, I can't think of anything offhand that would produce 'permission denied' but a 'file exists' but that's highly unlikely with 'USR' and would have produced a different error message. Or, as Komakino says, you're trying to create a file in a directory that doesn't exist. That would also give a different error message.
It's always important, where possible, to state exactly what you're doing and exactly what the error message is.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.