Advertisement
Guest User

Untitled

a guest
Mar 17th, 2015
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. pse@Mithos:~$ touch /tmp/foo
  2. pse@Mithos:~$ sudo chflags schg /tmp/foo
  3. pse@Mithos:~$ rm /tmp/foo
  4. override rw-r--r-- pse/wheel schg for /tmp/foo? yes
  5. rm: /tmp/foo: Operation not permitted
  6. pse@Mithos:~$ sudo chflags noschg /tmp/foo
  7. pse@Mithos:~$ rm /tmp/foo
  8. pse@Mithos:~$ ll /tmp/foo
  9. ls: /tmp/foo: No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement