[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#615153: exec: 58: /usr: Permission denied



Michael Tokarev wrote:

> When you run something under strace, setuid/setgid bits
> are ignored by the kernel, the processes will run as
> user who started them.  This is significant difference
> in environment with and without strace.  JFYI.

Thanks, I should have remembered (allowing ptrace to control setuid
programs would be a huge security hole).  Sorry for the thinko.

invisiblemanguard, could you give an exact set of commands and the
exact output produced, when

 1) starting X as a normal user
 2) starting X as root

?  (Generally speaking, unless it involves sending megabytes of data,
being concrete when submitting bugs --- i.e., giving the reader a
complete account of what happened --- always tends to be helpful.)
I'd also still be interested in output from

 3) ls -l /usr/bin/X /etc/X11/Xwrapper.config
 4) sudo strace -o /tmp/startxlog startx



Reply to: