Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kevin@stout:~/temp$ mkdir test
- kevin@stout:~/temp$ sudo chown kevin:web test
- [sudo] password for kevin:
- kevin@stout:~/temp$ chmod g+s test
- kevin@stout:~/temp$ ls -l
- total 4
- drwxrwxr-x 2 kevin web 4096 Mar 15 09:53 test
- kevin@stout:~/temp$ touch test/newfile
- kevin@stout:~/temp$ ls -l test/
- total 0
- -rw-rw-r-- 1 kevin kevin 0 Mar 15 09:54 newfile
- kevin@stout:~/temp$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement