Opened 8 years ago

#1085 new defect

multiple calls to make install from a read-only source fails to copy config files

Reported by: stackoverflow.com/users/324204/sogartar Owned by:
Priority: minor Milestone:
Component: other Version: 1.10.x
Keywords: Cc:
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 -V: nginx version: nginx/1.10.1
built by gcc 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.