Advertisement
Guest User

Untitled

a guest
Mar 15th, 2012
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. kevin@stout:~/temp$ mkdir test
  2. kevin@stout:~/temp$ sudo chown kevin:web test
  3. [sudo] password for kevin:
  4. kevin@stout:~/temp$ chmod g+s test
  5. kevin@stout:~/temp$ ls -l
  6. total 4
  7. drwxrwxr-x 2 kevin web 4096 Mar 15 09:53 test
  8. kevin@stout:~/temp$ touch test/newfile
  9. kevin@stout:~/temp$ ls -l test/
  10. total 0
  11. -rw-rw-r-- 1 kevin kevin 0 Mar 15 09:54 newfile
  12. kevin@stout:~/temp$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement