jailkit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-dev] Makefile.in fixes


From: Andreas Schneider
Subject: Re: [Jailkit-dev] Makefile.in fixes
Date: Mon, 10 Sep 2007 21:58:42 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070719)

Olivier Sessink wrote:
> Andreas Schneider wrote:
>> Olivier Sessink wrote:
>>> Andreas Schneider wrote:
>>>> Olivier Sessink wrote:
>>>>> but installing as non-root makes Jailkit unusable. So for
>>>>> non-packagers
>>>>> (people that build from source) the 'make install' should fail if it
>>>>> cannot install files as user root.. Is there a better way of doing
>>>>> this?
>>>> If you run 'make install' as root, what you will normally do, the files
>>>> will be installed as root.
>>> but if you try to run 'make install' as regular user (e.g. you tried
>>> --prefix=~/ ) it should fail..
>>
>> Then you should create a new target, make suidinstall or make rootinstall
> 

make install should install it the normal way. This is the way how it
needs to be at packaging. You could simply print a message at the end of
'make install' if it was installed as user and say they should run "make
rootinstall" to get it installed as root.

> so in the packaging you run 'make suidinstall' and people that install
> from source use 'make install' ? Or is that not how you meant it?
> 
> Olivier
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Jailkit-dev mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/jailkit-dev

-- 
http://www.cynapses.org/ - cybernetic synapses


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]