author | Jeffrey C. Ollie <jeff@ocjtech.us> | |
Thu, 31 May 2007 19:20:32 +0000 (14:20 -0500) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 31 May 2007 19:50:30 +0000 (21:50 +0200) | ||
commit | a066a53681c331e096cc88ffbeaced33372c5448 | |
tree | b2bc7ba3d1f9fcddedc358d9f1a934274010a2c9 | tree | snapshot |
parent | 1aff6a0f47a87c561628009d2e925353d0e2b0ca | commit | diff |
Supply explicit permission bits to 'install'
'install' will install files with permissions set to '0755' if the
permissions are not specified on the command line. Having the execute
bits set on non-executable content is not desireable. Specify mode
0644 for non-executable content as well as specify mode 0755 for
executable content (in case the defaults change or are different on
different systems). Also tell 'install' to preserve timestamps.
[ Updated to also do it when installing HTML files. --jonas ]
Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
'install' will install files with permissions set to '0755' if the
permissions are not specified on the command line. Having the execute
bits set on non-executable content is not desireable. Specify mode
0644 for non-executable content as well as specify mode 0755 for
executable content (in case the defaults change or are different on
different systems). Also tell 'install' to preserve timestamps.
[ Updated to also do it when installing HTML files. --jonas ]
Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Makefile | diff | blob | history |