Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122225 Details for
Bug 182136
sys-apps/coreutils-7.1 with USE=acl and ext3 mounted with -o acl: cp -pr does not reset the setgid bit when appropriate
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
strace output
cp.trace (text/plain), 8.05 KB, created by
David Leverton
on 2007-06-16 12:35:00 UTC
(
hide
)
Description:
strace output
Filename:
MIME Type:
Creator:
David Leverton
Created:
2007-06-16 12:35:00 UTC
Size:
8.05 KB
patch
obsolete
>execve("/usr/bin/cp", ["cp", "-pr", "bar", "baz"], [/* 79 vars */]) = 0 >brk(0) = 0x510000 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abe46f21000 >uname({sys="Linux", node="shiny-one", ...}) = 0 >access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) >open("/etc/ld.so.cache", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=150859, ...}) = 0 >mmap(NULL, 150859, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe46f22000 >close(3) = 0 >open("/lib/libacl.so.1", O_RDONLY) = 3 >read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\33`"..., 832) = 832 >fstat(3, {st_mode=S_IFREG|0644, st_size=30720, ...}) = 0 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abe46f47000 >mmap(0x3c45600000, 1073032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3c45600000 >mprotect(0x3c45606000, 1044480, PROT_NONE) = 0 >mmap(0x3c45705000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x3c45705000 >close(3) = 0 >open("/lib/libattr.so.1", O_RDONLY) = 3 >read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\21\300"..., 832) = 832 >fstat(3, {st_mode=S_IFREG|0644, st_size=18208, ...}) = 0 >mmap(0x3c44c00000, 1062144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3c44c00000 >mprotect(0x3c44c04000, 1044480, PROT_NONE) = 0 >mmap(0x3c44d03000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x3c44d03000 >close(3) = 0 >open("/lib/libc.so.6", O_RDONLY) = 3 >read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\324\241"..., 832) = 832 >fstat(3, {st_mode=S_IFREG|0755, st_size=1320312, ...}) = 0 >mmap(0x3c3ca00000, 2334920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3c3ca00000 >mprotect(0x3c3cb32000, 1044480, PROT_NONE) = 0 >mmap(0x3c3cc31000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x131000) = 0x3c3cc31000 >mmap(0x3c3cc36000, 16584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3c3cc36000 >close(3) = 0 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abe46f48000 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abe46f49000 >arch_prctl(ARCH_SET_FS, 0x2abe46f48d80) = 0 >mprotect(0x3c3cc31000, 12288, PROT_READ) = 0 >munmap(0x2abe46f22000, 150859) = 0 >brk(0) = 0x510000 >brk(0x531000) = 0x531000 >open("/usr/lib64/locale/locale-archive", O_RDONLY) = -1 ENOENT (No such file or directory) >open("/usr/share/locale/locale.alias", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abe46f22000 >read(3, "# Locale name alias data base.\n#"..., 4096) = 2586 >read(3, "", 4096) = 0 >close(3) = 0 >munmap(0x2abe46f22000, 4096) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_IDENTIFICATION", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=366, ...}) = 0 >mmap(NULL, 366, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe46f22000 >close(3) = 0 >open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=25462, ...}) = 0 >mmap(NULL, 25462, PROT_READ, MAP_SHARED, 3, 0) = 0x2abe46f23000 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_MEASUREMENT", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 >mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe46f2a000 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_TELEPHONE", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=56, ...}) = 0 >mmap(NULL, 56, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe46f2b000 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_ADDRESS", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0 >mmap(NULL, 127, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe46f2c000 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_NAME", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0 >mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe46f2d000 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_PAPER", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0 >mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe46f2e000 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_MESSAGES", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=52, ...}) = 0 >mmap(NULL, 52, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe46f2f000 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_MONETARY", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=290, ...}) = 0 >mmap(NULL, 290, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe46f30000 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_COLLATE", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=880086, ...}) = 0 >mmap(NULL, 880086, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe46f4a000 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_TIME", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=2378, ...}) = 0 >mmap(NULL, 2378, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe47021000 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_NUMERIC", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=54, ...}) = 0 >mmap(NULL, 54, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe47022000 >close(3) = 0 >open("/usr/lib64/locale/en_GB.utf8/LC_CTYPE", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=238464, ...}) = 0 >mmap(NULL, 238464, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abe47023000 >close(3) = 0 >geteuid() = 1000 >stat("baz", 0x7fff63b86d80) = -1 ENOENT (No such file or directory) >lstat("bar", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 >lstat("baz", 0x7fff63b86b60) = -1 ENOENT (No such file or directory) >mkdir("baz", 0700) = 0 >lstat("baz", {st_mode=S_IFDIR|S_ISGID|0700, st_size=4096, ...}) = 0 >open("bar", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3 >fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 >fcntl(3, F_SETFD, FD_CLOEXEC) = 0 >getdents(3, /* 2 entries */, 4096) = 48 >getdents(3, /* 0 entries */, 4096) = 0 >close(3) = 0 >syscall_261(0xffffffffffffff9c, 0x7fff63b878c9, 0x7fff63b86900, 0x4, 0x513f08, 0x2, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5, 0x7fff63b878c5) = 0 >chown("baz", 1000, 100) = 0 >llistxattr("bar", (nil), 0) = 0 >llistxattr("bar", 0x7fff63b868c0, 0) = 0 >getxattr("bar", "system.posix_acl_access", 0x7fff63b867a0, 132) = -1 ENODATA (No data available) >stat("bar", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 >setxattr("baz", "system.posix_acl_access", "\x02\x00\x00\x00\x01\x00\x07\x00\xff\xff\xff\xff\x04\x00\x05\x00\xff\xff\xff\xff \x00\x05\x00\xff\xff\xff\xff", 28, 0) = 0 >getxattr("bar", "system.posix_acl_default", 0x7fff63b867a0, 132) = -1 ENODATA (No data available) >stat("bar", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 >stat("baz", {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0 >setxattr("baz", "system.posix_acl_default", "\x02\x00\x00\x00", 4, 0) = 0 >close(1) = 0 >close(2) = 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 182136
: 122225