/ln.strace Secret
Created
July 2, 2020 14:38
WSL2 / Cannot create symbolic links on drvfs network share
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
1191 execve("/usr/bin/ln", ["ln", "-s", "dummyfile", "dummylink"], 0x7ffc0ab990a0 /* 23 vars */) = 0 | |
1191 brk(NULL) = 0x557527575000 | |
1191 arch_prctl(0x3001 /* ARCH_??? */, 0x7ffc474ceaf0) = -1 EINVAL (Invalid argument) | |
1191 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
1191 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=36684, ...}) = 0 | |
1191 mmap(NULL, 36684, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6395820000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
1191 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360q\2\0\0\0\0\0"..., 832) = 832 | |
1191 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 | |
1191 pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32 | |
1191 pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0cBR\340\305\370\2609W\242\345)q\235A\1"..., 68, 880) = 68 | |
1191 fstat(3, {st_mode=S_IFREG|0755, st_size=2029224, ...}) = 0 | |
1191 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f639581e000 | |
1191 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 | |
1191 pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32 | |
1191 pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0cBR\340\305\370\2609W\242\345)q\235A\1"..., 68, 880) = 68 | |
1191 mmap(NULL, 2036952, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f639562c000 | |
1191 mprotect(0x7f6395651000, 1847296, PROT_NONE) = 0 | |
1191 mmap(0x7f6395651000, 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f6395651000 | |
1191 mmap(0x7f63957c9000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19d000) = 0x7f63957c9000 | |
1191 mmap(0x7f6395814000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f6395814000 | |
1191 mmap(0x7f639581a000, 13528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f639581a000 | |
1191 close(3) = 0 | |
1191 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f639562a000 | |
1191 arch_prctl(ARCH_SET_FS, 0x7f639581f5c0) = 0 | |
1191 mprotect(0x7f6395814000, 12288, PROT_READ) = 0 | |
1191 mprotect(0x557525fa6000, 4096, PROT_READ) = 0 | |
1191 mprotect(0x7f6395856000, 4096, PROT_READ) = 0 | |
1191 munmap(0x7f6395820000, 36684) = 0 | |
1191 brk(NULL) = 0x557527575000 | |
1191 brk(0x557527596000) = 0x557527596000 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=3035952, ...}) = 0 | |
1191 mmap(NULL, 3035952, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6395344000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=2996, ...}) = 0 | |
1191 read(3, "# Locale name alias data base.\n#"..., 4096) = 2996 | |
1191 read(3, "", 4096) = 0 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=252, ...}) = 0 | |
1191 mmap(NULL, 252, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6395855000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=27002, ...}) = 0 | |
1191 mmap(NULL, 27002, PROT_READ, MAP_SHARED, 3, 0) = 0x7f6395822000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 | |
1191 mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6395821000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0 | |
1191 mmap(NULL, 47, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6395820000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=131, ...}) = 0 | |
1191 mmap(NULL, 131, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6395343000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0 | |
1191 mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6395342000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0 | |
1191 mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6395341000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0 | |
1191 mmap(NULL, 48, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6395340000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=270, ...}) = 0 | |
1191 mmap(NULL, 270, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f639533f000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=1518110, ...}) = 0 | |
1191 mmap(NULL, 1518110, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f63951cc000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=3360, ...}) = 0 | |
1191 mmap(NULL, 3360, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f63951cb000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0 | |
1191 mmap(NULL, 50, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f63951ca000 | |
1191 close(3) = 0 | |
1191 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 | |
1191 fstat(3, {st_mode=S_IFREG|0644, st_size=201272, ...}) = 0 | |
1191 mmap(NULL, 201272, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6395198000 | |
1191 close(3) = 0 | |
1191 stat("dummylink", 0x7ffc474cea00) = -1 ENOENT (No such file or directory) | |
1191 symlinkat("dummyfile", AT_FDCWD, "dummylink") = -1 EPERM (Operation not permitted) | |
1191 openat(AT_FDCWD, "/usr/share/locale/C.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 openat(AT_FDCWD, "/usr/share/locale/C.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 openat(AT_FDCWD, "/usr/share/locale/C/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 openat(AT_FDCWD, "/usr/share/locale-langpack/C.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 openat(AT_FDCWD, "/usr/share/locale-langpack/C.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 openat(AT_FDCWD, "/usr/share/locale-langpack/C/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 write(2, "ln: ", 4) = 4 | |
1191 write(2, "failed to create symbolic link '"..., 42) = 42 | |
1191 openat(AT_FDCWD, "/usr/share/locale/C.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 openat(AT_FDCWD, "/usr/share/locale/C.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 openat(AT_FDCWD, "/usr/share/locale/C/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 openat(AT_FDCWD, "/usr/share/locale-langpack/C.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 openat(AT_FDCWD, "/usr/share/locale-langpack/C.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 openat(AT_FDCWD, "/usr/share/locale-langpack/C/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) | |
1191 write(2, ": Operation not permitted", 25) = 25 | |
1191 write(2, "\n", 1) = 1 | |
1191 lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) | |
1191 close(0) = 0 | |
1191 close(1) = 0 | |
1191 close(2) = 0 | |
1191 exit_group(1) = ? | |
1191 +++ exited with 1 +++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment