Open besmirzanaj opened 2 months ago
If someone is on the same boat, I did this to fix system permissions.
root
, either SSH or console.for i in /opt/ /media/ /mnt/ /srv/ /usr/ /etc/ /var/ /boot/ / ; do echo $i; chown -R root $i; done
aptitude reinstall '~i'
Describe the bug
OS file permissions break after upgrade from portal/UI
Scenario: OS: Debian12, User:
Install casaos with.
perform an upgrade from the GUI.
Try to login with and sudo. you will be prompted with the following since all permissions are messed up.
files after upgrade
Expected behavior
Root file system and crucial paths should not be touched by casaos
System Time
Logs
The sudo command cannot be run anymore. the permissions are broken: