[Bug 1233280] [NEW] Permission error while removing preinstalled click before installing any other click

Loïc Minier lool at dooz.org
Mon Sep 30 16:54:05 UTC 2013


Public bug reported:

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.exit(main())
   File "/usr/bin/click", line 79, in main
     return mod.run(args)
   File "/usr/lib/python3/dist-packages/click/commands/unregister.py", line 57,
in run
     registry.remove(package)
   File "/usr/lib/python3/dist-packages/click/user.py", line 295, in remove
     self._ensure_db()
   File "/usr/lib/python3/dist-packages/click/user.py", line 157, in _ensure_db
     self._users._ensure_db()
   File "/usr/lib/python3/dist-packages/click/user.py", line 89, in _ensure_db
     os.mkdir(path)
 PermissionError: [Errno 13] Permission denied: '/opt/click.ubuntu.com/.click'

ls -l /opt/click.ubuntu.com/ -a
drwxr-xr-x 2 clickpkg clickpkg 4096 Sep 29 07:57 .
drwxr-xr-x 3 root     root     4096 Sep 30 16:38 ..

Cheers,

** Affects: click (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1233280

Title:
  Permission error while removing preinstalled click before installing
  any other click

Status in “click” package in Ubuntu:
  New

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.exit(main())
     File "/usr/bin/click", line 79, in main
       return mod.run(args)
     File "/usr/lib/python3/dist-packages/click/commands/unregister.py", line 57,
  in run
       registry.remove(package)
     File "/usr/lib/python3/dist-packages/click/user.py", line 295, in remove
       self._ensure_db()
     File "/usr/lib/python3/dist-packages/click/user.py", line 157, in _ensure_db
       self._users._ensure_db()
     File "/usr/lib/python3/dist-packages/click/user.py", line 89, in _ensure_db
       os.mkdir(path)
   PermissionError: [Errno 13] Permission denied: '/opt/click.ubuntu.com/.click'

  ls -l /opt/click.ubuntu.com/ -a
  drwxr-xr-x 2 clickpkg clickpkg 4096 Sep 29 07:57 .
  drwxr-xr-x 3 root     root     4096 Sep 30 16:38 ..

  Cheers,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1233280/+subscriptions



More information about the foundations-bugs mailing list