> Would try to open the cmake_install.cmake file corresponding to the
offending
> install(file ...) You should find something like:
> 
> FILE(INSTALL <yourfile> DESTINATION <thedest>
>         FILE_PERMISSIONS <perms>)

This is not quite what I have. Instead, I have something like:

FILE(INSTALL DESTINATION <myDestination> TYPE FILE PERMISSIONS OWNER_READ
GROUP_READ WORLD_READ FILES <myFile>)

> You could try to craft a tryPermission.cmake file which mimics the command
> and execute only that part using
> 
> cmake -P tryPermission.cmake
> 
> and check whether if the permission is preserved or not.

I might have a go at it tomorrow, though I am no CMake/CPack expert (I just
learned enough about them to do what I needed to do), so we shall see.

> >> Could you try to build a sample project which exhibit the problem
> >> open a
> > bug
> >> report and attach the sample project to it ?
> >
> > I will try to do that tomorrow.
> 
> Ok thanks, this will be helpful.
> It may not be necessary if the previous steps shows that that
> FILE(INSTALL ....FILE_PERMISSIONS ... ) is not working, in this case send
us the
> script.
> 
> PS: beware not to drop the ML address

Yes, sorry about that!

Alan

_______________________________________________
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