This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10614] New: Creates root-owned files in user home directory when run using sudo
- From: "eugen at debian dot org" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 7 Sep 2009 10:09:20 -0000
- Subject: [Bug translator/10614] New: Creates root-owned files in user home directory when run using sudo
- Reply-to: sourceware-bugzilla at sourceware dot org
When user runs stap using sudo it creates cache files owned by root. This
includes directories that cannot be deleted by the user (they contain files
owned by root). This does not happen if one uses su. Example (ignore errors
because of missing *-cert):
~% rm -rf ~/.systemtap
~% sudo stap /usr/share/doc/systemtap-doc/examples/general/helloworld.stp -v
Pass 1: parsed user script and 59 library script(s) in 150usr/20sys/176real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) in
0usr/0sys/5real ms.
Pass 3: translated to C into
"/tmp/stapNAQ4mX/stap_541a08113beaccdd5a2afd699887c157_660.c" in 0usr/0sys/0real ms.
sh: /usr/bin/stap-gen-cert: not found
sh: /usr/bin/stap-authorize-signing-cert: not found
Pass 4: compiled C into "stap_541a08113beaccdd5a2afd699887c157_660.ko" in
4330usr/1040sys/5430real ms.
Copy failed ("/tmp/stapNAQ4mX/stap_541a08113beaccdd5a2afd699887c157_660.ko.sgn"
to
"/home/eugen/.systemtap/cache/54/stap_541a08113beaccdd5a2afd699887c157_660.ko.sgn"):
No such file or directory
Pass 5: starting run.
hello world
Pass 5: run completed in 10usr/30sys/165real ms.
~% ls -ld .systemtap
drwxr-xr-x 3 root root 4096 âåð 7 12:04 .systemtap
--
Summary: Creates root-owned files in user home directory when run
using sudo
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: eugen at debian dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10614
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.