snap creates (or tries to create) a direcotry in /root/snap/
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
here is the problem:
# snap refresh
error: cannot perform the following tasks:
- Run configure hook of "zoom-client" snap if present (run hook "configure":
-----
cmd_run.go:918: WARNING: cannot create user data directory: cannot create "/root/
cannot create user data directory: /root/snap/
-----)
snap tries to create a directory in /root/snap/ and is prevented from doing so because of bug #1877764.
But the problem is that snap tries to create this directory in the first place. Why on earth is this directory needed? Why would anybody want to run zoom in the root account?
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: snapd 2.45.1+20.04
Uname: Linux 5.7.5-050705-
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Wed Jun 24 12:30:45 2020
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
Changed in snapd (Ubuntu): | |
status: | New → Confirmed |
tags: | added: groovy hirsute |
tags: |
added: jammy kinetic lunar mantic removed: groovy hirsute package-from-proposed |
Running a configure hook triggers this. Makes me wonder, whether we should even try to do the desktopy stuff in the hooks.