Problem after update

Which version of system do you use? Khadas official images, self built images, or others?

Khadas Ubuntu official 22.04 5.4.180

Please describe your issue below:

After update my main account lost permissions.
My main user account is steve. I use the software updater every few days to updated system. Yesterday, after update, the steve account lost some menu items and some application wouldn’t work. When user steve opens up a terminal window I get: bash: /home/steve/.bashrc: Permissions denied. Switching to user khadas, everything seems fine. The kadas account seems to own home.

steve@Khadas:/$ ls -l
total 56
lrwxrwxrwx   1 root   root       7 Jul 21 04:51 bin -> usr/bin
drwxr-xr-x   5 root   root    4096 Oct 18 23:06 boot
drwxr-xr-x  17 root   root    6420 Oct 19 17:44 dev
drwxr-xr-x 139 root   root   12288 Oct 19 17:44 etc
drwxr-xr-x   4 khadas khadas  4096 Sep  4 21:49 home
lrwxrwxrwx   1 root   root      36 Oct 18 23:06 kvim4.dtb.overlay.env -> ../../overlays/kvim4.dtb.o
erlay.env
lrwxrwxrwx   1 root   root      33 Oct 18 23:06 kvim4.dtb.overlays -> ../../overlays/kvim4.dtb.over
ays
lrwxrwxrwx   1 root   root       7 Jul 21 04:51 lib -> usr/lib
drwxr-xr-x   4 root   root    4096 Sep 15 21:06 media
drwxr-xr-x   2 root   root    4096 Jul 21 04:51 mnt
drwxr-xr-x   2 root   root    4096 Jul 21 04:51 opt
dr-xr-xr-x 327 root   root       0 Dec 31  1969 proc
drwxr-xr-x   2 root   root    4096 Sep  4 03:33 RaspController
drwx------   5 root   root    4096 Oct 19 15:41 root
drwxr-xr-x  37 root   root     980 Oct 19 18:10 run
lrwxrwxrwx   1 root   root       8 Jul 21 04:51 sbin -> usr/sbin
drwxr-xr-x  10 root   root    4096 Sep 21 08:35 snap
drwxr-xr-x   2 root   root    4096 Jul 21 04:51 srv
dr-xr-xr-x  13 root   root       0 Oct 19 17:44 sys
drwxrwxrwt  17 root   root     440 Oct 19 17:49 tmp
drwxr-xr-x  11 root   root    4096 Jul 21 04:51 usr
drwxr-xr-x  12 root   root    4096 Jul 21 04:56 var

Post a console log of your issue below

I don't see anything in syslog regarding this issue.

I’ll probably reload the system from oowow at some point.

This is the second time an update messed up the system, the fist time was a couple months ago, the system wouldn’t even boot.

Hello @stevec

The system default user account is khadas, maybe after upgrade it breaks your account, we will check this issue.

Hello @stevec

We will fix this issue in next release. For now, you may need to change your user account permissions manually.

Cool.
What do I need to change?

You can try this:

sudo chown root:root /home/
sudo chown steve:steve /home/steve/ -R

Thanks numbqq,
It’s back to normal, updated and rebooted (a few times).
-steve

1 Like