[Bug 1260872] [NEW] click chroot create fails with permission error without sudo
Michał Sawicz
michal.sawicz at canonical.com
Fri Dec 13 21:57:48 UTC 2013
Public bug reported:
Running click chroot without sudo results in:
⟫ click chroot -a armhf create
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/chroot.py", line 115, in run
args.func(args)
File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 30, in create
ClickChroot(args.architecture, args.framework, series=args.series).create()
File "/usr/lib/python3/dist-packages/click/chroot.py", line 160, in create
os.makedirs(mount)
File "/usr/lib/python3.3/os.py", line 269, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/var/lib/schroot/chroots/click-ubuntu-sdk-13.10-armhf'
Should check for sudo privileges and report a more helpful error.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: click 0.4.13
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.12.7-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Dec 13 22:53:36 2013
SourcePackage: click
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: click (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
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/1260872
Title:
click chroot create fails with permission error without sudo
Status in “click” package in Ubuntu:
New
Bug description:
Running click chroot without sudo results in:
⟫ click chroot -a armhf create
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/chroot.py", line 115, in run
args.func(args)
File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 30, in create
ClickChroot(args.architecture, args.framework, series=args.series).create()
File "/usr/lib/python3/dist-packages/click/chroot.py", line 160, in create
os.makedirs(mount)
File "/usr/lib/python3.3/os.py", line 269, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/var/lib/schroot/chroots/click-ubuntu-sdk-13.10-armhf'
Should check for sudo privileges and report a more helpful error.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: click 0.4.13
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.12.7-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Dec 13 22:53:36 2013
SourcePackage: click
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1260872/+subscriptions
More information about the foundations-bugs
mailing list