mirrorselect fails to preserve the permissions of /etc/make.conf if root's umask differs from the permissions of /etc/make.conf Example: # umask 0077 # ls -l /etc/make.conf -rw-r--r-- 1 root root 14930 Apr 22 06:28 /etc/make.conf # mirrorselect -a # ls -l /etc/make.conf -rw------- 1 root root 14780 Apr 22 12:11 /etc/make.conf Expected: # mirrorselect -a # ls -l /etc/make.conf -rw-r--r-- 1 root root 14780 Apr 22 12:11 /etc/make.conf
Created attachment 29839 [details, diff] use 'cp -p' to create make.conf.old Rather than moving the old make.conf, use 'cp -p' That way, if the failsafe below needs to restore make.conf, the permissions will still be preserved
fixed as suggested in 0.85