Dear CMak'ers ;-)

probably a very silly question but i couldn't find the answer in the 
docu/internet :-(

I am building a Debian package using CPack from CMake.
If i simply create the packages with 
     make packages   (as a normal user)
then the files/folders in the package end up with my user ownership instead of 
root, and the folders with mode 700 (my umask is 077).

The "simple" solution i've found is to run

    umask 022 && fakeroot make package

Is there a way to control ownership and folder permissions from within CMake? 
(file permissions i manage with INSTALL(FILES ...) )

Thanks a lot in advance!

Cheers, Ariel
_______________________________________________
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