Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2796

landscape-sysinfo.cache: Permission denied when I start Ubuntu 22.04 in WSL

$
0
0

I installed Ubuntu 22.04 on Windows 11 using WSL. I then moved it on another disk with the WSL commands (--export/--import).

After moving it, the default user was root, so I added the below lines in /etc/wsl.conf:

[user]default=numa

Now in the message which is shown once a day when I start Ubuntu (MOTD I think), I can see this message:

[/etc/update-motd.d/50-landscape-sysinfo: 17: cannot create /var/lib/landscape/landscape-sysinfo.cache: Permission denied]

Although it seems to be no harm, I wonder how can I avoid this.


Viewing all articles
Browse latest Browse all 2796

Trending Articles