I have a file with 660 flags set, but I want to install it with 700 flags set.
660
700
How do I do it? How to change the file permission, without c
There is no FILE_PERMISSIONS argument in install(FILES ...). Use PERMISSIONS instead:
FILE_PERMISSIONS
PERMISSIONS
install( FILES common.sh PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ DESTINATION /rootfs/usr/bin )