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 09-30-2003, 07:12 PM   #1
dave bean
Member
 
Registered: Jun 2003
Location: UK
Distribution: Slackware 9.1
Posts: 136

Rep: Reputation: 15
cant create dir /usr/local/Acrobat


Im trying to install acrobat, it suggests installing to usr/local/Acrobat but when i try to create the directory, i am denied access. I'm logged in as root and ive tried to manually create the directory. Why cant i make the directory, and is this a good place to install programs ?

Also in the file manager is there a way to configure it so that the default view in the left hand panel is always the tree file system ? At present i have to change the view each time i use it.

Thank you

-running redhat 9, gnome desktop

Last edited by dave bean; 09-30-2003 at 07:13 PM.
 
Old 09-30-2003, 07:32 PM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
try executing 'ls -ld /usr/local' to make sure root has write access to the directory. it should read something like this

rwxr-xr-x root root /usr/local

if it doesn't execute (as root) 'chmod 755 /usr/local'

then you should be able to create the directory.
 
Old 10-01-2003, 06:16 AM   #3
dave bean
Member
 
Registered: Jun 2003
Location: UK
Distribution: Slackware 9.1
Posts: 136

Original Poster
Rep: Reputation: 15
hi
thanks but i tried that and i still cant create the directory. After the ls -ld cmd i'm given

drwxr -xr -x 11 root root

After typing 'chmod 755 /usr/local' i am told the operation is not permitted. After checking i have found the only place i can create a directory is 'home/dave'. I presume this is not an ideal location to install programs ?

Also after typing 'chmod --help' i dont see the 755 option could u explain what this means please and also what the directory listing is (from typing the -d flag). I guess the rw is read/write but what does the d indicate?

Thanks for your reply

Last edited by dave bean; 10-01-2003 at 06:17 AM.
 
Old 10-01-2003, 07:39 AM   #4
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
Hey Dave, try using the command su -

Then enter your root password. Then try to do the modifications.

Just double checking that you are in fact logged in as root. Otherwise, Im not sure what could be wrong.
 
Old 10-01-2003, 07:55 AM   #5
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
howzit

to make sure u login as root type whoami and see if it comes up with root another way use cmd id this must show u a uid=0 if u logged in as root if it's something like 50? then u not logged ina s root but as a normal user, if this is the case then follow steps

chow
 
Old 10-01-2003, 11:21 AM   #6
dave bean
Member
 
Registered: Jun 2003
Location: UK
Distribution: Slackware 9.1
Posts: 136

Original Poster
Rep: Reputation: 15
thanks to y'all

the su- command followed by root password did the trick, thanks Kroenecker.. .
 
Old 10-02-2003, 05:48 AM   #7
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
No problem Dave,

Just to let you know, when you initially log in, if you dont type root followed by roots password, you wont be logged in as the root user.

I think you may have had some confusion about that.

I wouldnt recommend logging in as root if you are going to be using an internet connection. Its best to do internet activities while you are a regular user Then disconnect and do whatever you need to your system as root.

Good luck!

ps you should also use /bin/su - in the future, too, just to be especially safe.

Last edited by Kroenecker; 10-03-2003 at 11:27 AM.
 
Old 10-02-2003, 10:12 AM   #8
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
actually I almost NEVER log in as root, its so easy to just bring up an Eterm and 'su' that there doesn't seem much point to login as root ... unless you have to start in single-user-recovery runlevel 1 ... eek!
 
  


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
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/libaprutil-0.so. bijuhpd Linux - Newbie 1 10-30-2005 06:07 PM
/usr vs /usr/local on linuxpackages.net merchtemeagle Slackware 4 10-18-2005 04:09 PM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 10:21 AM
Create 'shortcut' at /usr/local Arzene Linux - Newbie 1 06-18-2003 03:26 AM
Permissions, usr directory, acrobat installation. DiBosco Linux - Newbie 2 11-19-2001 05:32 PM


All times are GMT -5. The time now is 09:59 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