Opened 6 years ago
multiple calls to make install from a read-only source fails to copy config files
|Reported by:||stackoverflow.com/users/324204/sogartar||Owned by:|
|uname -a:||Linux XXX 3.13.0-96-generic #143-Ubuntu SMP Mon Aug 29 20:15:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux|
nginx version: nginx/1.10.1
built by gcc 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
Let's say you have the source of nginx and it is read-only.
Doing "make install" would preserve the read-only attributes. Then calling "make install" again would fail with "Permission denied", because cp would not overwrite read-only files.
I feel the correct behavior is for the install to succeeded no matter the read-only attributes of source files.