Questions tagged [strace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
7k views

Strange strace and setuid behaviour: permission denied under strace, but not running normally

This is related to this question. I have a script (fix-permissions.sh) that fixes some file permissions: #! /bin/bash sudo chown -R person:group /path/ sudo chmod -R g+rw /path/ And a small c ...
James's user avatar
  • 290
6 votes
1 answer
4k views

Why strace sudo command bombs when sudo command works?

my username is allowed to execute sudo command then why does this bomb strace sudo command with the error: sudo: must be setuid root
user322908's user avatar
4 votes
2 answers
3k views

How do I strace the whole system?

strace allows you to monitor the activity of a particular program. How can I monitor the activity of all programs (expect for sshd/bash/strace_itself)? Currently I'm using a hack like this: function ...
Vi.'s user avatar
  • 17.2k