LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-03-2004, 01:32 PM   #1
Rangerjim
LQ Newbie
 
Registered: Aug 2004
Location: Mather Ca
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
I can't make files in directorys


Hello:

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!!!
 
Old 08-03-2004, 01:35 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
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.
 
Old 08-03-2004, 03:28 PM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
  


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
RPM Directorys scripts Linux - Software 1 01-08-2005 12:36 PM
Password protect directorys? xconspirisist Linux - Security 3 12-31-2004 08:26 PM
accessing Directorys and files with spaces paintcheck200 Linux - General 2 01-07-2004 07:07 PM
copy directorys Luc Linux - Newbie 4 11-05-2002 02:12 AM
Protecting directorys antken Linux - Security 3 07-30-2002 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration