Linux Mint Mate Upgrade 19.3 > 20: umask issue

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Tom739
Level 2
Level 2
Posts: 74
Joined: Sun Dec 03, 2017 5:40 am
Location: Germany

Linux Mint Mate Upgrade 19.3 > 20: umask issue

Post by Tom739 »

Dear All,

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
I have followed the recommended upgrade procedure

Code: Select all

% apt install mintupgrade
% mintupgrade check
% mintupgrade download
% mintupgrade upgrade
% sudo reboot
Then, I could not proceed as intended because of the wrong permissions of:

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
After correcting the permissions to:

Code: Select all

-rw-r--r-- 1 root root 489 Mai 30 05:48 /etc/apt/sources.list.d/official-package-repositories.list
I was able to continue with the upgrade and update process to LM Mate 20.3 (or 19.3 respectively).

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
This time, the previous permission problem did not occur and I was able to complete the upgrade and update process smoothly.

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
Last edited by LockBot on Fri Dec 01, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Installation & Boot”