(In reply to comment #3) > Yes, on files that the sysadmin has not altered.
It does it on upgrades also for files which the sysadmin _has_ altered by changing the files' permissions.
# rpm -i noreplace-perms-1.0-1.x86_64.rpm # ls -l /tmp/noreplace-perms -rw-r--r-- 1 root root 4 2009-04-10 00:33 /tmp/noreplace-perms # chown bin:bin /tmp/noreplace-perms ; chmod 400 /tmp/noreplace-perms # ls -l /tmp/noreplace-perms -r-------- 1 bin bin 4 2009-04-10 00:33 /tmp/noreplace-perms # rpm -U noreplace-perms-1.1-1.x86_64.rpm # ls -l /tmp/noreplace-perms -rw-r----- 1 apache apache 4 2009-04-10 00:35 /tmp/noreplace-perms
> Your comment is irrelevant to your original RFE.
I disagree. To summarize differently, this RFE is about consistent behavior wrt. what happens to permissions of actual/effective (not .rpm* backups) config files on package upgrades.
(In reply to comment #3)
> Yes, on files that the sysadmin has not altered.
It does it on upgrades also for files which the sysadmin _has_ altered by changing the files' permissions.
# rpm -i noreplace- perms-1. 0-1.x86_ 64.rpm perms perms perms ; chmod 400 /tmp/noreplace- perms perms perms perms-1. 1-1.x86_ 64.rpm perms perms
# ls -l /tmp/noreplace-
-rw-r--r-- 1 root root 4 2009-04-10 00:33 /tmp/noreplace-
# chown bin:bin /tmp/noreplace-
# ls -l /tmp/noreplace-
-r-------- 1 bin bin 4 2009-04-10 00:33 /tmp/noreplace-
# rpm -U noreplace-
# ls -l /tmp/noreplace-
-rw-r----- 1 apache apache 4 2009-04-10 00:35 /tmp/noreplace-
> Your comment is irrelevant to your original RFE.
I disagree. To summarize differently, this RFE is about consistent behavior wrt. what happens to permissions of actual/effective (not .rpm* backups) config files on package upgrades.