Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 04-16-2005, 02:54 AM   #1
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...


Last edited by frostillicus; 04-16-2005 at 04:32 AM.
Old 04-16-2005, 08: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, 09:56 PM   #3
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....


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 08:13 PM
Root permissions for a user Neutron1998 Linux - Newbie 1 09-30-2004 05:28 PM
root vs. user file permissions learning2fly Slackware 4 07-17-2003 01:06 PM
User Permissions?Root? bongski55 Slackware 7 06-17-2003 07:13 AM
Giving a user all root permissions ranixlb Linux - Security 9 05-15-2002 01:50 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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