Created
August 19, 2013 15:09
-
-
Save jtreminio/6270214 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[03:00 PM]-[vagrant@debian-70rc1-x64-vbox4210]-[~] | |
$ sudo strace -r /tmp/strace.log sudo php info.php | |
0.000000 execve("/tmp/strace.log", ["/tmp/strace.log", "sudo", "php", "info.php"], [/* 15 vars */]) = -1 EACCES (Permission denied) | |
0.000066 dup(2) = 3 | |
0.000165 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) | |
0.000337 fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 | |
0.000236 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feea01da000 | |
0.000249 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) | |
0.000256 write(3, "strace: exec: Permission denied\n", 32strace: exec: Permission denied | |
) = 32 | |
0.000413 close(3) = 0 | |
0.000185 munmap(0x7feea01da000, 4096) = 0 | |
0.000183 exit_group(1) = ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment