[CMake] CPack PackageMaker bug?

Michael Jackson mike.jackson at bluequartz.net
Fri Jan 16 08:29:28 EST 2009


or "sudo chown root:admin" but then you would need to somehow get the  
password into the system.

Hmmm.

_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio



On Jan 16, 2009, at 5:25 AM, Mike Arthur wrote:

> On Thursday 15 January 2009 20:17:55 Clinton Stimpson wrote:
>> The problem with PackageMaker is that ALL the files need to be  
>> owned by
>> root at package time.  Not install time.  That can only be done if I
>> issue "make package" as root, as "chown root" doesn't work as a  
>> normal
>> user.  When I do that, most of my problem is solved.  Then I just  
>> add an
>> install(CODE "chmod ...") to make sure the permissions are correct as
>> well.  I don't see how a patch to CMake can help this PackageMaker
>> problem much.
> What you need is something like fakeroot for Linux but I'm not sure  
> if that
> runs on OS X...
>
> -- 
> Cheers,
> Mike Arthur
> http://mikearthur.co.uk/
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list