LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 04-16-2005, 01:54 AM   #1
frostillicus
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
blfs non-root user permissions question


excuse the noobishness, i'm wondering if in blfs the non-root user that is unpacking and patching makefiles, etc., gets write privleges to the /usr/src directory. i kinda thought that root owned everything but the tmp and home directories, and i doubt /usr/src gets the same permissions as $LFS/sources, a+wt, but i dunno...
or is the non-root user added to a group that has the permissions, i.e., write access to /usr/src? or something else entirely? in bhlfs a non-root user named builder is to be created, but the commands to do so are missing...

thanks.

Last edited by frostillicus; 04-16-2005 at 03:32 AM.
 
Old 04-16-2005, 07:08 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
It's up to you what permissions you set, it's your system. My policy is that users can write in their home folder and /tmp and nowhere else. I untar and compile packages on my gnome desktop and as I don't need a /usr/src folder, I don't create one. YMMV
 
Old 04-16-2005, 08:56 PM   #3
frostillicus
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 15
roger that, usually i just build in my home directory, however i was (am) trying to do it as the blfs book instructs, with the sources in /usr/src and the default install directory as /usr.

good to hear i wasn't way off base with the /home and /tmp directory conjectures, thanks for clearing that up for me....
 
  


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
Using root permissions with another user JWT2 Linux - Security 11 10-06-2005 07:13 PM
Root permissions for a user Neutron1998 Linux - Newbie 1 09-30-2004 04:28 PM
root vs. user file permissions learning2fly Slackware 4 07-17-2003 12:06 PM
User Permissions?Root? bongski55 Slackware 7 06-17-2003 06:13 AM
Giving a user all root permissions ranixlb Linux - Security 9 05-15-2002 12:50 PM


All times are GMT -5. The time now is 05:31 PM.

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