The Samba-Bugzilla – Attachment 5226 Details for
Bug 7070
Permission denied message with --fake-super and permissionless directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Output of strace of rsync on the server side
rsync.st (text/plain), 10.90 KB, created by
Jörg Sommer (mail address dead)
on 2010-01-27 10:28:46 UTC
(
hide
)
Description:
Output of strace of rsync on the server side
Filename:
MIME Type:
Creator:
Jörg Sommer (mail address dead)
Created:
2010-01-27 10:28:46 UTC
Size:
10.90 KB
patch
obsolete
>execve("/usr/bin/rsync", ["rsync", "--fake-super", "--server", "-logDtpre.iLs", ".", "/var/tmp"], [/* 22 vars */]) = 0 >brk(0) = 0x938d000 >access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) >mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77cf000 >access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) >open("/etc/ld.so.cache", O_RDONLY) = 3 >fstat64(3, {st_mode=S_IFREG|0644, st_size=50238, ...}) = 0 >mmap2(NULL, 50238, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb77c2000 >close(3) = 0 >access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) >open("/lib/libacl.so.1", O_RDONLY) = 3 >read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\27\0\0004\0\0\0"..., 512) = 512 >fstat64(3, {st_mode=S_IFREG|0644, st_size=25788, ...}) = 0 >mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77c1000 >mmap2(NULL, 28612, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb77ba000 >mmap2(0xb77c0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb77c0000 >close(3) = 0 >access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) >open("/lib/libpopt.so.0", O_RDONLY) = 3 >read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\31\0\0004\0\0\0"..., 512) = 512 >fstat64(3, {st_mode=S_IFREG|0644, st_size=36828, ...}) = 0 >mmap2(NULL, 39660, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb77b0000 >mmap2(0xb77b9000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0xb77b9000 >close(3) = 0 >access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) >open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3 >read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0i\1\0004\0\0\0"..., 512) = 512 >fstat64(3, {st_mode=S_IFREG|0755, st_size=1425856, ...}) = 0 >mmap2(NULL, 1435216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7651000 >mprotect(0xb77a9000, 4096, PROT_NONE) = 0 >mmap2(0xb77aa000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x158) = 0xb77aa000 >mmap2(0xb77ad000, 9808, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb77ad000 >close(3) = 0 >access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) >open("/lib/libattr.so.1", O_RDONLY) = 3 >read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\17\0\0004\0\0\0"..., 512) = 512 >fstat64(3, {st_mode=S_IFREG|0644, st_size=15240, ...}) = 0 >mmap2(NULL, 18048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb764c000 >mmap2(0xb7650000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb7650000 >close(3) = 0 >mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb764b000 >set_thread_area({entry_number:-1 -> 6, base_addr:0xb764b8d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 >open("/dev/urandom", O_RDONLY) = 3 >read(3, "\327N\3\304", 4) = 4 >close(3) = 0 >mprotect(0xb77aa000, 8192, PROT_READ) = 0 >mprotect(0xb77ed000, 4096, PROT_READ) = 0 >munmap(0xb77c2000, 50238) = 0 >rt_sigaction(SIGUSR1, {0x8063380, [], SA_NOCLDSTOP}, NULL, 8) = 0 >rt_sigaction(SIGUSR2, {0x8063d80, [], SA_NOCLDSTOP}, NULL, 8) = 0 >rt_sigaction(SIGCHLD, {0x8063dd0, [], SA_NOCLDSTOP}, NULL, 8) = 0 >time(NULL) = 1264608678 >geteuid32() = 1000 >umask(0) = 022 >brk(0) = 0x938d000 >brk(0x93ae000) = 0x93ae000 >open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 >fstat64(3, {st_mode=S_IFREG|0644, st_size=1561152, ...}) = 0 >mmap2(NULL, 1561152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb74cd000 >close(3) = 0 >open("/usr/etc/popt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) >open("/etc/popt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) >stat64("/etc/popt.d", 0xbfe907c4) = -1 ENOENT (No such file or directory) >open("/home/joerg/.popt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) >rt_sigaction(SIGINT, {0x8052660, [], SA_NOCLDSTOP}, NULL, 8) = 0 >rt_sigaction(SIGHUP, {0x8052660, [], SA_NOCLDSTOP}, NULL, 8) = 0 >rt_sigaction(SIGTERM, {0x8052660, [], SA_NOCLDSTOP}, NULL, 8) = 0 >rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR1 USR2 TERM CHLD], NULL, 8) = 0 >rt_sigaction(SIGPIPE, {0x1, [], SA_NOCLDSTOP}, NULL, 8) = 0 >rt_sigaction(SIGXFSZ, {0x1, [], SA_NOCLDSTOP}, NULL, 8) = 0 >getcwd("/home/joerg", 4095) = 12 >fcntl64(0, F_GETFL) = 0 (flags O_RDONLY) >fcntl64(0, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 >fcntl64(1, F_GETFL) = 0x1 (flags O_WRONLY) >fcntl64(1, F_SETFL, O_WRONLY|O_NONBLOCK) = 0 >fcntl64(0, F_GETFL) = 0x800 (flags O_RDONLY|O_NONBLOCK) >fcntl64(1, F_GETFL) = 0x801 (flags O_WRONLY|O_NONBLOCK) >select(2, NULL, [1], [1], {60, 0}) = 1 (out [1], left {59, 999991}) >write(1, "\36\0\0\0", 4) = 4 >select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {59, 999996}) >read(0, "\36\0\0\0", 4) = 4 >select(2, NULL, [1], [1], {60, 0}) = 1 (out [1], left {59, 999997}) >write(1, "\7", 1) = 1 >time(NULL) = 1264608678 >select(2, NULL, [1], [1], {60, 0}) = 1 (out [1], left {59, 999997}) >write(1, "\246e`K", 4) = 4 >select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {59, 999996}) >read(0, "&\0\0\7", 4) = 4 >select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {59, 999997}) >read(0, "\1\1a\0<\0K\257d`\0@\0\0\0\0\0\377d\270\1\2/1\0\0\0\244\201\0\0\0"..., 38) = 38 >mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb74ac000 >mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb748b000 >mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb746a000 >mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7449000 >mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7408000 >stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 >chdir("/var/tmp") = 0 >socketpair(PF_FILE, SOCK_STREAM, 0, [3, 4]) = 0 >fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) >fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 >fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) >fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 >clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb764b918) = 8952 >close(4) = 0 >close(0) = 0 >lstat64("a", 0xbfe8e68c) = -1 ENOENT (No such file or directory) >mkdir("a", 0) = 0 >lstat64("a", {st_mode=S_IFDIR, st_size=4096, ...}) = 0 >lgetxattr("a", "user.rsync.%stat", 0xbfe8c318, 255) = -1 EACCES (Permission denied) >select(4, [3], [1], [1], {60, 0}) = 1 (out [1], left {59, 999989}) >write(1, "V\0\0\10rsync: failed to read xattr "..., 90) = 90 >time(NULL) = 1264608678 >lstat64("a", {st_mode=S_IFDIR, st_size=4096, ...}) = 0 >lgetxattr("a", "user.rsync.%stat", 0xbfe8c0d8, 255) = -1 EACCES (Permission denied) >select(4, [3], [1], [1], {60, 0}) = 1 (out [1], left {59, 999995}) >write(1, "\3\0\0\7\3\0`", 7) = 7 >time(NULL) = 1264608678 >select(4, [3], [1], [1], {60, 0}) = 1 (out [1], left {59, 999996}) >write(1, "V\0\0\10rsync: failed to read xattr "..., 90) = 90 >time(NULL) = 1264608678 >chmod("a", 0700) = 0 >lsetxattr("a", "user.rsync.%stat", "40000 0,0 0:0", 13, 0) = 0 >time(NULL) = 1264608678 >utimes("a", {{1264608678, 0}, {1264608431, 0}}) = 0 >lstat64("a/1", 0xbfe8e68c) = -1 ENOENT (No such file or directory) >select(4, [3], [1], [1], {60, 0}) = 1 (out [1], left {59, 999100}) >write(1, "\24\0\0\7\1\0\240\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 24) = 24 >time(NULL) = 1264608678 >munmap(0xb74ac000, 135168) = 0 >select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {59, 999787}) >read(3, "\0\0\0\34", 8184) = 4 >select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {59, 999492}) >read(3, "\4\0\0k\3\0\0\0", 8184) = 8 >select(4, [3], [1], [1], {60, 0}) = 1 (out [1], left {59, 999996}) >write(1, "\1\0\0\7\0", 5) = 5 >time(NULL) = 1264608678 >chmod("a", 0) = 0 >lstat64("a", {st_mode=S_IFDIR, st_size=4096, ...}) = 0 >lgetxattr("a", "user.rsync.%stat", 0xbfe8d518, 255) = -1 EACCES (Permission denied) >select(4, [3], [1], [1], {60, 0}) = 1 (out [1], left {59, 999995}) >write(1, "V\0\0\10rsync: failed to read xattr "..., 90) = 90 >time(NULL) = 1264608678 >time(NULL) = 1264608678 >utimes("a", {{1264608678, 0}, {1264608431, 0}}) = 0 >munmap(0xb7408000, 266240) = 0 >munmap(0xb7449000, 135168) = 0 >select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {59, 999898}) >read(3, "\0\0\0]", 8184) = 4 >select(4, [3], [1], [1], {60, 0}) = 1 (out [1], left {59, 999996}) >write(1, "\2\0\0\7\0\0", 6) = 6 >time(NULL) = 1264608678 >select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {59, 999967}) >read(3, "\0\0\0]", 8184) = 4 >select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {59, 999965}) >read(3, "\1\0\0]\0", 8184) = 5 >select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {59, 999978}) >read(3, "\0X\0", 8184) = 3 >time(NULL) = 1264608678 >select(4, [3], [1], [1], {60, 0}) = 1 (out [1], left {59, 999997}) >write(1, "\1\0\0\7\0", 5) = 5 >time(NULL) = 1264608678 >kill(8952, SIGUSR2) = 0 >waitpid(8952, 0xbfe8f7f8, WNOHANG) = 0 >gettimeofday({1264608678, 369992}, NULL) = 0 >select(0, NULL, NULL, NULL, {0, 20000}) = ? ERESTARTNOHAND (To be restarted) >--- SIGCHLD (Child exited) @ 0 (0) --- >waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 8952 >waitpid(-1, 0xbfe8f47c, WNOHANG) = -1 ECHILD (No child processes) >sigreturn() = ? (mask now []) >gettimeofday({1264608678, 370496}, NULL) = 0 >select(0, NULL, NULL, NULL, {0, 20000}) = 0 (Timeout) >gettimeofday({1264608678, 390927}, NULL) = 0 >waitpid(8952, 0xbfe8f7f8, WNOHANG) = -1 ECHILD (No child processes) >rt_sigaction(SIGUSR1, {0x1, [], 0}, NULL, 8) = 0 >rt_sigaction(SIGUSR2, {0x1, [], 0}, NULL, 8) = 0 >exit_group(0) = ?
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7070
: 5226 |
5897
|
5950