What is the default mode for xinstall?

Ryan Schmidt ryandesign at macports.org
Thu Aug 16 16:38:15 PDT 2012


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.



More information about the macports-users mailing list