LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2004, 03:38 AM   #1
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Rep: Reputation: 15
uncompress and compiling problem for unprivileged user.


Hi,

i m in ridiculous problem. here is it:

im trying to add a new unprivileged user and want to uncompress and compile courier-imap from source distribution. so i did followings as root;

#groupadd compile
#adduser comp -g compile
#passwd comp
#"enter_new_password_for_comp"
#"re-enter_new_password_for_comp"

now when i m logging in with username "comp" and trying to extract "courier-imap-3.0.3.tar" I can't uncompress them and not even compile it.

but the courier-imap documentation says to uncompress and compile the source being a normal user rather than root. then become su when use "make install".

so whats wrong i m doing??
 
Old 05-09-2004, 05:43 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Does the user "comp" have write access to wherever you are extracting the files too?

Moved: This thread is more suitable in Linux Software and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 05-09-2004, 07:08 AM   #3
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Original Poster
Rep: Reputation: 15
ok, i kept the file "courier-imap-3.0.3.tar.bz2" at /usr/local directory and its permission is like this :

drwxr-xr-x 17 root root 4096 Apr 6 01:16 local

should i change it's permission ?

Thnx.

Last edited by sixth_sense; 05-09-2004 at 07:19 AM.
 
Old 05-09-2004, 01:38 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I wouldn't cahnge the permissions of that directory as it is a system directory. Create a directory under src:
mkdir -p /usr/local/src/courier

Move the tarball:
mv /usr/local/courier-imap-3.0.3.tar.bz2

Change the permissions:
chown -R comp:comp /usr/local/src/courier

For more information on permissions:
http://wiki.linuxquestions.org/wiki/Permissions
 
  


Reply



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
change to unprivileged user without sudo? german Linux - Security 2 01-28-2005 01:32 PM
VNC server as unprivileged user CartersAdvocate Slackware 1 12-18-2004 10:51 PM
Start applications automatically on an unprivileged user? DeathGoth Linux - General 3 10-27-2004 04:29 AM
Problem installing mandrake 10: Could not uncompress second stage ramdisc jblpogger Linux - Hardware 5 06-29-2004 04:11 AM
getting access to /var for unprivileged user usernamed Linux - Software 1 05-11-2004 06:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 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
Open Source Consulting | Domain Registration