I have a file with 660 flags set, but I want to install it with 700 flags set.
How can I do it? How to change file resolution without changing the resolution of the source file?
My installation command:
install( FILES common.sh DESTINATION /rootfs/usr/bin )
and this is what I tried (but this does not work):
install( FILES common.sh FILE_PERMISSIONS "600" DESTINATION /rootfs/usr/bin )
source share