On 01/13/2015 01:55 AM, Domen Vrankar wrote: > This patch is somewhat related to > http://public.kitware.com/pipermail/cmake/2014-December/059460.html > (bug report: http://www.cmake.org/Bug/view.php?id=3602) as it defines > user and group that should be used for RPM content but on a per RPM > scale since it is not possible to define it in install command.
If it were possible to define it in the install() command, that would be useful for local installs. We would also need the information to be communicated to the packaging step. If such functionality existed, would it eliminate the need for a CPack/RPM-specific solution? Should the staged install location for packaging not bother setting uid/gid because they will be handled by the packaging tool instead? We need to be able to package on a host machine that does not have the users or groups of the target machine (perhaps because a pre-install script in the package creates the users/groups). > My question is if such functionality would be useful for other CPack > packagers as well? I would think so. The permissions are a property of the project and target environment, not of the packaging tools. Each CPack generator should treat permissions according to the capabilities of its tools and target environment. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
