[CMake] permissions in Mac and Bundle file

Clinton Stimpson clinton at elemtech.com
Sat Nov 21 11:28:00 EST 2009


On 11/21/2009 04:34 AM, Carles Pina i Estany wrote:
> Hello,
>
> We are generating in cmake a bundle Mac bundle package. When the user
> installs it it's installed with the user owner and a group with the same
> name than the user.
>
> We would like that the owner is the user and the group is admin (and
> write permissions for group as well).
>
> Which is the way to change it in cmake? (possibly cmake 2.6 but we could
> migrate to 2.8)
>
> I've seen but not tested CPACK_BUNDLE_STARTUP_COMMAN. If this is
> executed after the bundle is installed we could change somehow the
> permissions using a shell script. But maybe there is better way and the
> documentation that I've found about it is a bit confussing.
>
> Many thanks!
>
>    

Normal file permission policies apply here because "installing" is just 
copying a folder from one place to another.

Clint



More information about the CMake mailing list