Unix Technical Forum

being a normal user to build package

This is a discussion on being a normal user to build package within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> +Alan Hicks+ wrote: > > In alt.os.linux.slackware, Joost Kremers dared to utter, >> in fact, with tar's --owner, --group ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #21 (permalink)  
Old 02-19-2008, 09:25 PM
Joost Kremers
 
Posts: n/a
Default Re: being a normal user to build package

+Alan Hicks+ wrote:
>
> In alt.os.linux.slackware, Joost Kremers dared to utter,
>> in fact, with tar's --owner, --group and --mode options, it would be
>> painfully easy to write makepkg that way, at least for packages that do not
>> require special ownership or permissions for certain files. and if you do
>> need them, you could use fakeroot, also mentioned in this thread.

>
> Well, makepkg already has something similar to this for directories,


makepkg can only set ownership to root if it is run as root. (at least, i
searched the script, and didn't find any --owner or --group options to tar
in it.) the discussion was about whether it would be possible to create
packages as non-users. currently, makepkg does not allow you to do that,
but technically it is possible.

whether it would be a good idea to provide that option is a different
matter. i'd say it's about as good an idea as giving makepkg the option to
set all ownership to root: pretty pointless.

> and speaks on why it's not such a great idea.


yes, i know, and that's why i mentioned that fakeroot is also available.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:47 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com