LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-17-2004, 08:52 AM   #1
PDock
Member
 
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189

Rep: Reputation: 36
Compile Package Permissions Ownership Changes


The basic question is when should one change ownership/permissions when creating a package for your lastest/greatest download?

Assumptions:
You are/can become root.
Download to be installed on more than one computer.
There is more than one user.
Ability to write/edit bash scripts is desireable.

I have searched here and googled but not really found an answer to above question. This is probably more specific to Slackware or any non rpm/yast distribution but thought the question general enough for this wider audience. Absent specific instructions, what is the best practice to making your own package.

Option A:
As regular user, you wrote/modified a bash script to lather/rinse/repeat the following steps till satisfied:
untar'd your download and skimmed the INSTALL/READMEs.
cd package-version
./configure with options probably --prefix=/usr and others
./make
su
change ownership entire directory to root/root
./make install
build package

Option B:
As regular user, you wrote/modified a bash script to lather/rinse/repeat the following steps till satisfied:
untar'd your download and skimmed the INSTALL/READMEs.
cd package-version
su
change ownership entire directory to root/root
./configure with options probably --prefix=/usr and others
./make
./make install
build package

Option C;
?

I guess asked another way: Does the ownership of a file (root/root vs joe/user) used by make to compile an executable/library have any impact on the resulting biniary?

Sorry if this has been answered before but never took computing 0.101
ppd
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions & Ownership Really screwed slacard Other *NIX 1 04-03-2005 01:36 AM
File permissions and ownership all screwed up Haiyadragon Linux - General 6 09-20-2004 02:09 PM
Question about ownership/permissions infornography Linux - Newbie 7 07-28-2004 06:57 AM
Apache/Samba file permissions/ownership seedsca Linux - Networking 0 03-28-2004 10:07 PM
write permissions / ownership bynaar Slackware 15 08-08-2002 05:25 AM


All times are GMT -5. The time now is 01:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration