Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@localhost root.hdd]# strace rm -f root.hdd
- execve("/bin/rm", ["rm", "-f", "root.hdd"], [/* 21 vars */]) = 0
- brk(0) = 0x18a1000
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f02719b8000
- 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=19200, ...}) = 0
- mmap(NULL, 19200, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02719b3000
- close(3) = 0
- open("/lib64/libc.so.6", O_RDONLY) = 3
- read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\355\1\0\0\0\0\0"..., 832) = 832
- fstat(3, {st_mode=S_IFREG|0755, st_size=1916568, ...}) = 0
- mmap(NULL, 3745960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0271407000
- mprotect(0x7f0271591000, 2093056, PROT_NONE) = 0
- mmap(0x7f0271790000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x7f0271790000
- mmap(0x7f0271795000, 18600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0271795000
- close(3) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f02719b2000
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f02719b1000
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f02719b0000
- arch_prctl(ARCH_SET_FS, 0x7f02719b1700) = 0
- mprotect(0x7f0271790000, 16384, PROT_READ) = 0
- mprotect(0x7f02719b9000, 4096, PROT_READ) = 0
- munmap(0x7f02719b3000, 19200) = 0
- brk(0) = 0x18a1000
- brk(0x18c2000) = 0x18c2000
- open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
- fstat(3, {st_mode=S_IFREG|0644, st_size=99158576, ...}) = 0
- mmap(NULL, 99158576, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f026b576000
- close(3) = 0
- ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
- newfstatat(AT_FDCWD, "root.hdd", {st_mode=S_IFREG|0777, st_size=770703360, ...}, AT_SYMLINK_NOFOLLOW) = 0
- unlinkat(AT_FDCWD, "root.hdd", 0) = -1 EPERM (Operation not permitted)
- open("/usr/share/locale/locale.alias", O_RDONLY) = 3
- fstat(3, {st_mode=S_IFREG|0644, st_size=2512, ...}) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f02719b7000
- read(3, "# Locale name alias data base.\n#"..., 4096) = 2512
- read(3, "", 4096) = 0
- close(3) = 0
- munmap(0x7f02719b7000, 4096) = 0
- open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
- open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
- open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
- open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
- open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
- open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = 3
- fstat(3, {st_mode=S_IFREG|0644, st_size=435, ...}) = 0
- mmap(NULL, 435, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02719b7000
- close(3) = 0
- write(2, "rm: ", 4rm: ) = 4
- write(2, "cannot remove `root.hdd'", 24cannot remove `root.hdd') = 24
- open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
- open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
- open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
- open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
- open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
- open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
- write(2, ": Operation not permitted", 25: Operation not permitted) = 25
- write(2, "\n", 1
- ) = 1
- close(0) = 0
- close(1) = 0
- close(2) = 0
- exit_group(1) = ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement