What is the default mode for xinstall?
cubranic at stat.ubc.ca
Fri Aug 17 10:12:37 PDT 2012
On 2012-08-16, at 4:38 PM, Ryan Schmidt wrote:
> On Aug 16, 2012, at 18:30, Davor Cubranic <cubranic at stat.ubc.ca> wrote:
>> The reference guide has a section on the default values for owner, group, and mode, but leaves them blank. Can I assume them to be the same as for the 'install' binary?
> The default owner and group should be whatever values were provided to --with-install-user and --with-install-group when MacPorts was configured. For the pre-build binaries we distribute, that's root.
>> According to 'man install', the default mode is 0755, regardless of the type of the file. So doing 'xinstall -m 0755 …' is redundant, but if I wanted to keep the execute bit off, then I need to say "-m 0644"?
> Yes, that's right.
Thank you. Is the guide editable, or source available so I can send you a patch containing this information?
More information about the macports-users