[CMake] CPack PackageMaker bug?

Mike Arthur mike at mikearthur.co.uk
Fri Jan 16 05:25:43 EST 2009


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/


More information about the CMake mailing list