Permission denied when removing a snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I am experiencing an issue where snaps cannot be removed on systems with non-native users.
In my scenario, a machine is joined to AD, and autofs and sssd are configured to mount a user's NFS home upon login.
For my user jamesbeedy,
$ juju ssh jamesbeedy@100
jamesbeedy@
/home/jamesbeedy
$ mount | grep jamesbeedy
mynfsserver.
If I install a snap as root, and then use it as my jamesbeedy user, a directory is created in my nfs home, /home/jamesbeed
`journalctl -u snapd --no-pager` shows https:/
`kern.log` shows https:/
I'm wondering if there is a known solution to using snaps on systems with non-native users?
Thanks
summary: |
- Permission denied when removing snap remove data for snap on + Permission denied when removing snap |
summary: |
- Permission denied when removing snap + Permission denied when removing a snap |
description: | updated |
description: | updated |
Changed in snapd: | |
status: | New → Incomplete |
Changed in snapd: | |
status: | Incomplete → New |
Thanks for your bugreport.
I created https:/ /github. com/snapcore/ snapd/pull/ 12520 with an addition for our test suite to check if this is easily reproducible.