2011/1/8 Tim St. Clair <timoth...@gmail.com>:
> This will be across several *nix platforms,
>
> I tried fakeroot but when I expand it has the euid of the user.

This is odd, by the way which version of CMake are you using?

On my ubuntu 10.04 box with CMake 2.8.3, I get:

A) cpack -G TGZ
leads to a tar+gz archive whose content its owned by the user.
(as printed out using 'tar ztvf file.tgz')

B) fakeroot cpack -G TGZ
leads to a tar+gz archive whose content its owned by root.
(as printed out using 'tar ztvf file.tgz')


An alternative solution would be to force ownership on extraction,
GNU tar has the option:
--no-same-owner
           extract files as yourself

which should do the job (I suppose you can be root when extracting).


Do you have any self contained example which exhibits the problem?

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to