2017-03-08 10:00 GMT+01:00 Bernhard Seckinger <bernhard.seckin...@gmx.de>:

> Hi all,
>
> I'm using cpack to generate a debian package. There are two things that
> look
> like bugs in cpack to me (although it might also be, that I got something
> wrong):
>
> a) Files, that I install with install(FILES ...) get the wrong name in the
> md5sum section. Names should be e.g. "usr/bin/croco", but are
> "/path/to/build/directory/_CPack_Packages/Linux/DEB/
> croco-0.1.1-Linux/usr/bin/croco".
> Not only, that the md5sums cannot be checked automatically, but also my
> build
> path is exposed in the deb package.
>

This was already reported and the fix should be part of CMake 3.8.


> b) Directory permissions of automatically created directories are set to
> 770
> instead of 755 which is standard. This includes even directories, that are
> part of the ${CMAKE_INSTALL_PREFIX}. For everything else I could add an
> install(DIRECTORY ... DIRECTORY_PERMISSIONS) although I think, that even
> this
> should not be necessary.
>

This came up in the past and if I recall correctly the only workaround was
the install(DIRECTORY ... DIRECTORY_PERMISSIONS) that you mentioned. Please
file a bug report for this one.

Thanks,
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

Reply via email to