in the course of my recent upgrade from LM Mate 19.3 to LM Mate 20 I ran into a problem that I had already encountered, when I upgraded from LM Mate 18.3 to LM Mate 19.
The user account that I used in both cases has a conservative umask setting of
Code: Select all
% umask 027
Code: Select all
% apt install mintupgrade
% mintupgrade check
% mintupgrade download
% mintupgrade upgrade
% sudo reboot
Code: Select all
% ll /etc/apt/sources.list.d/official*
-rw-r----- 1 root root 489 Mai 30 05:48 /etc/apt/sources.list.d/official-package-repositories.list
Code: Select all
-rw-r--r-- 1 root root 489 Mai 30 05:48 /etc/apt/sources.list.d/official-package-repositories.list
Since I have two computers, I tried to avoid this issue by adding a umask command before executing the recommended upgrade procedure.
Code: Select all
% umask 022 # <-- additional umask command
% apt install mintupgrade
% mintupgrade check
% mintupgrade download
% mintupgrade upgrade
% sudo reboot
Having this found out, I think it would be helpful to include a umask check and adjustment into the upgrade procedure for future upgrades.
Regards
Tom