Permission error while removing preinstalled click before installing any other click
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click (Ubuntu) |
Fix Released
|
High
|
Colin Watson |
Bug Description
Hi,
Removing dropping letter on freshly written image (70), I get this traceback in a crash file, and a pkcon error reported in the scope:
Traceback (most recent call last):
File "/usr/bin/click", line 83, in <module>
sys.
File "/usr/bin/click", line 79, in main
return mod.run(args)
File "/usr/lib/
in run
registry.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
os.mkdir(path)
PermissionError: [Errno 13] Permission denied: '/opt/click.
ls -l /opt/click.
drwxr-xr-x 2 clickpkg clickpkg 4096 Sep 29 07:57 .
drwxr-xr-x 3 root root 4096 Sep 30 16:38 ..
Cheers,
Related branches
- Colin Watson: Approve
- Ubuntu CI managed package branches: Pending requested
-
Diff: 485 lines (+269/-70)11 files modifiedREADME (+1/-0)
click/build.py (+10/-22)
click/framework.py (+138/-0)
click/install.py (+8/-28)
click/paths.py.in (+1/-0)
click/tests/helpers.py (+29/-0)
click/tests/test_build.py (+39/-5)
click/tests/test_install.py (+2/-4)
debian/changelog (+8/-0)
doc/file-format.rst (+1/-2)
doc/index.rst (+32/-9)
Changed in click (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
status: | Triaged → Fix Committed |
This bug was fixed in the package click - 0.4.10
---------------
click (0.4.10) saucy; urgency=low
* When removing packages, only drop privileges after ensuring the
existence of the database directory (LP: #1233280).
-- Colin Watson <email address hidden> Mon, 30 Sep 2013 18:12:14 +0100