[22007] portutil.tcl mods / more portfile.7 changes needed?

Jordan K. Hubbard jkh at brierdr.com
Wed Feb 14 07:39:49 PST 2007


You'd have to have a separate mode flag that would apply just to  
directories.  A permission of 0755, for example, would be perfectly  
valid for an entire hierarchy of directories.

- Jordan

On Feb 14, 2007, at 1:39 AM, Kevin Ballard wrote:

> I will point out that if xinstall copies directories, that raises  
> the question of how to apply mode and owner/groups to the installed  
> directories. owner/group should be safe to recurse, but mode  
> wouldn't be.
>
> On Feb 14, 2007, at 3:31 AM, Jordan K. Hubbard wrote:
>
>> On Feb 13, 2007, at 11:19 PM, Kevin Ballard wrote:
>>
>>> xinstall and file copy are different - xinstall is implemented in  
>>> pextlib, and apparently doesn't recursively copy directories.  
>>> It's a shame.
>>>
>>> So yeah, while xinstall won't handle directories, copy will do it  
>>> just fine. The difference is that copy won't handle file  
>>> permissions, but xinstall does.
>>
>> I was trying to copy the semantics of install(1) in order to obey  
>> what seemed to be the principle of least astonishment.   That  
>> said, I'm having a hard time thinking of just how and where the  
>> world would end if someone were to enhance it to actually copy  
>> directories.  I was probably being too conservative.
>
> -- 
> Kevin Ballard
> http://kevin.sb.org
> eridius at macports.org
> http://www.tildesoft.com
>
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-dev/attachments/20070214/0eb7fce3/attachment.html


More information about the macports-dev mailing list