ubuntu-bug tomcat7 is crashing with "permission denied"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 12.04 i wanted to report a bug against tomcat7, so i used "ubuntu-bug tomcat7" and i got this traceback:
The first two german lines are just "collecting information can be send to the developers to improve the application"
Die gesammelten Informationen können an die Entwickler gesendet werden
um die Anwendung zu verbessern. Dies kann einige Minuten dauern.
.......
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
attach_
File "/usr/lib/
modified = packaging.
File "/usr/lib/
with open(path, 'rb') as fd:
IOError: [Errno 13] Permission denied: u'/etc/
....
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: tomcat7 7.0.26-1ubuntu1.2
ProcVersionSign
Uname: Linux 3.5.0-43-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Wed Dec 18 14:04:59 2013
InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214)
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: tomcat7
UpgradeStatus: No upgrade log present (probably fresh install)
As an additinal info:
i used "ubuntu-bug tomcat7" directly after the installation, so i did not change aynthing.
michael@ raidbuntu: ~$ ls -all /etc/tomcat7/ tomcat- users.xml tomcat- users.xml
-rw-r----- 1 root tomcat7 1530 Feb 25 2012 /etc/tomcat7/
So seems like, ubuntu-bug is executing it as my normal user "michael" which is not part of tomcat7 or root.
michael@ raidbuntu: ~$ id michael 1000(michael) ,4(adm) ,24(cdrom) ,27(sudo) ,30(dip) ,46(plugdev) ,111(lpadmin) ,112(sambashare )
uid=1000(michael) gid=1000(michael) Gruppen=