As usual, it is never that easy. The real question is the interface to
specifying the permission bits, and any owed/group user ids. What I have
works for me but maybe not everyone.

Here is what I use. It may not work on Windows but then I suspect the
install issues on Windows are different. I do use this on the OSX.

Sounds like I should update my octal constant from recent emails!

env['INSTALL']=installFunc

env['INSTALL_GROUP']='mygroup'env['INSTALL_MODE']=0710    # leading 0
implies octal




*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Rob Managan                             email managan at llnl.gov
LLNL                                             phone: 925-423-0903
P.O. Box 808, L-095                   FAX:   925-422-3389
Livermore, CA  94551-0808





On 5/2/14 8:57 AM, "Russel Winder" <rus...@winder.org.uk> wrote:

>On Fri, 2014-05-02 at 15:45 +0000, Managan, Rob wrote:
>> Since this issue was raised I thought I would refresh another one.
>> 
>> Every year or two we get a request about Install functions. I have one
>> that allows the user to not only install a file in a location but set
>>the
>> owner and group Ids along with the permission bits on Unix.
>> 
>> Is this something that should get into the core code or just remain a
>>user
>> function? Scons does let you replace the default function with your own
>> nicely.
>
>If these are drop in replacements for Install and InstallAs, I'd vote
>for replacing the current versions in the core.
>
>-- 
>Russel.
>==========================================================================
>===
>Dr Russel Winder      t: +44 20 7585 2200   voip:
>sip:russel.win...@ekiga.net
>41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@winder.org.uk
>London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
>
>_______________________________________________
>Scons-dev mailing list
>Scons-dev@scons.org
>http://two.pairlist.net/mailman/listinfo/scons-dev

_______________________________________________
Scons-dev mailing list
Scons-dev@scons.org
http://two.pairlist.net/mailman/listinfo/scons-dev

Reply via email to