touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #57285
[Bug 1300948] Re: aa-genprof crashed with PermissionError in _mkstemp_inner(): [Errno 13] Permission denied: '/etc/apparmor.d/tmphtnhuikm~'
A normal user has to run an application using sudo just to build a
profile. This is ludicrous and counter-productive. The profile generated
should optionally be saved elsewhere.
For example:
$ aa-genprof /usr/games/armagetronad
Will fail because /etc/apparmor.d is not writeable. The workaround is
horrible:
$ sudo aa-genprof /usr/games/armagetronad
I really don't want to run something like armagetronad as the super-
user. :-/
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1300948
Title:
aa-genprof crashed with PermissionError in _mkstemp_inner(): [Errno
13] Permission denied: '/etc/apparmor.d/tmphtnhuikm~'
Status in AppArmor Linux application security framework:
Triaged
Status in apparmor package in Ubuntu:
Triaged
Bug description:
running aa-genprof <application> without sudo made the crash.
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: apparmor-utils 2.8.95~2430-0ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
Uname: Linux 3.13.0-19-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Apr 1 20:45:07 2014
ExecutablePath: /usr/sbin/aa-genprof
InstallationDate: Installed on 2014-03-24 (8 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64+mac (20131016.1)
InterpreterPath: /usr/bin/python3.4
ProcCmdline: /usr/bin/python3 /usr/sbin/aa-genprof feh
ProcKernelCmdline: BOOT_IMAGE=/efi/ubuntu/vmlinuz-3.13.0-19-generic root=/dev/mapper/vg-root0 ro quiet splash
PythonArgs: ['/usr/sbin/aa-genprof', 'feh']
SourcePackage: apparmor
Syslog:
Title: aa-genprof crashed with PermissionError in _mkstemp_inner(): [Errno 13] Permission denied: '/etc/apparmor.d/tmphtnhuikm~'
UpgradeStatus: Upgraded to trusty on 2014-03-29 (3 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1300948/+subscriptions