Re: chown and @install_files

"Scott Henry Harrison" <harris41-mhe/[email protected]> Fri, 16 Jan 2004 10:23:30 -0500
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
>> Does @install_files handle anything like chown ownership?
>> Otherwise, what I am doing is stuff like:
>> @os.chown("/tmp/filename",pwd.getpwnam("sharrison")[2],pwd.getpwnam("sharris 
>> on")[3]) 
> It could work like this: 
> 
>     INSTALL_DATA += afile {mode = 0744} {user = scott} {group = hackers}

How about 

    INSTALL_DATA += afile {mode = 0744} {own = www:www} 

and 

    INSTALL_DATA += afile {mode = 0744} {own = www} 

when the default group is to be used 

and 

    INSTALL_DATA += afile {mode = 0744} {own = :subversion} 

when the default user is to be used? 

Either way, yes, that would be most cool! 

Regards,
Scott 





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn