Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-16-2005, 03:57 AM   #1
LQ Newbie
Registered: Apr 2005
Distribution: Gentoo!
Posts: 8

Rep: Reputation: 0
Another quick question (user permission)

Ok, I'm starting to get the hang of linux now, but there's a few things I still don't know.

I've compiled/configured the latest version of IRCU ( the undernet ircd ), version

When I try to launch the process ( via "./ircd" ) as root, it says that it won't run as a superuser. Ok, that's understandable.

I login to a normal user account I created ( on another terminal ), and I try the same command. It says:

Fail: Cannot chdir(/root/lib): Permission denied, check DPATH
Is DPATH a linux setting, or part of the IRCU? The documentation for IRCU is kind of scarce, so I'm hoping someone here can help me out.

Do I need to give my normal user "read" access to /root/lib? What is the correct way to do that if necessary? Is that even the problem?
Old 04-16-2005, 04:32 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
The "correct" way is to compile/configure as your normal users. Ocassionally there are errors in the configure or make files themselves that, if run as a normal user will just error out with permissions problems or something similar, but if run as root, could remove an entire system directory, such as /bin or /usr/bin or something along those lines. It's much safer to find out an error in coding as a normal user than root

Your problem is likely that you compiled/configured as root in root's $HOME, which leaves all the req'd libs in that directory, that you, as a normal user, don't have access to, and shouldn't. If you were to have done a make install, the req'd libs and configs would be copied to the necessary locations that the binary would look for, and would have likely executed properly.


Old 04-16-2005, 01:42 PM   #3
LQ Newbie
Registered: Apr 2005
Distribution: Gentoo!
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, thank you for the info.


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
user permission pb. ptawe Debian 2 07-25-2005 04:47 PM
quick /user/bin question. emetib Debian 3 04-09-2004 11:49 PM
user permission demmylls Linux - General 7 12-19-2003 06:53 AM
Quick question about mount and user rights supernatural Slackware 2 03-02-2003 09:44 AM
user permission richie Linux - Newbie 1 05-02-2001 05:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration