I’ve installed snapd and classic Skype and VS Code on my ubuntu 18.04 in corporate network.
However whenever I try to start any of the apps, I’m getting the error, despite permissions are intact:
alderben@v0001exu0000273:~$ skype
cannot create user data directory: /home/mycompany/alderben/snap/skype/118: Permission denied
alderben@v0001exu0000273:~$ cd /home/mycompany/alderben/snap/skype/118
alderben@v0001exu0000273:~/snap/skype/118$ mkdir test
alderben@v0001exu0000273:~/snap/skype/118$ rmdir test
alderben@v0001exu0000273:~/snap/skype/118$ echo qqq > test.tml
alderben@v0001exu0000273:~/snap/skype/118$ echo qqq > test.tmp
alderben@v0001exu0000273:~/snap/skype/118$ rm test.tm
test.tml test.tmp
alderben@v0001exu0000273:~/snap/skype/118$ rm test.tm
test.tml test.tmp
alderben@v0001exu0000273:~/snap/skype/118$ rm test.tm*
alderben@v0001exu0000273:~/snap/skype/118$
alderben@v0001exu0000273:~/snap/skype/118$ sudo service snapd status
[sudo] password for alderben:
● snapd.service - Snappy daemon
Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: en
Active: active (running) since Wed 2020-03-25 17:16:06 MSK; 4 days ago
Main PID: 920 (snapd)
Tasks: 17 (limit: 4915)
CGroup: /system.slice/snapd.service
└─920 /usr/lib/snapd/snapd
Warning: Journal has been rotated since unit was started. Log output is incomple
just tried hello-world, it’s all the same.
alderben@v0001exu0000273:~/snap/skype/118$ hello-world
Command 'hello-world' not found, but can be installed with:
sudo snap install hello-world
alderben@v0001exu0000273:~/snap/skype/118$ sudo snap install hello-world
hello-world 6.4 from Canonical✓ installed
alderben@v0001exu0000273:~/snap/skype/118$ hello-world
cannot create user data directory: /home/mycompany/alderben/snap/hello-world/29: Permission denied
Any tips where even to start diagnostics?