Hi Brad and Domen and others,
I just realized that the permissions for the extra control files should
be set in a different way than for the md5sum checksum file.
Please find attached the patch correcting this and the corresponding
test that fires the problem.
Best,
Raffi
PS.: I want to push it directly to stage/cpack-deb-fakeroot-removal but
I have a permission issue.
Le 11/09/15 21:34, Domen Vrankar a écrit :
I have made the following changes in order to:
- support the UID/GID/UNAME/GNAME and permission on tar files at creation
time
- using directly libarchive in CPackDeb
- removing completely the need of fakeroot
Applied to next for testing:
http://www.cmake.org/gitweb?p=cmake.git;a=commit;h=2e9af45
I've fixed permission mask code in patch 2 and 3. Please confirm that
it works OK in your environment.
I've also removed permission mask setting for directories and files as
I am not certain that it belongs there - it wasn't there before and
user can always change permissions with install command. Issue with
default permissions being 775 is system default related and occurs
only with directories that are automatically created - directories
created with install command get permission 755 which is acceptable
for deb packages.
I believe that this inconsistency should be fixed elsewhere by adding
possibility to set global default directory permissions.
Is it on time for 3.4 freeze?
Feature freeze was announced for Oct, 1 so it should make it in 3.4
Regards,
Domen
--
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