Guest User

Untitled

a guest
Oct 31st, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. //<ip>/downloads /mnt/downloads cifs user,gid=100,forcegid,rw,auto,username=guest,password=guest,domain=<domain>.local 0 0
  2.  
  3. mount /mnt/downloads
  4.  
  5. [user1@host mnt]$ ls -hl
  6. total 0
  7. drwxrwxrwx. 3 root users 0 Oct 31 13:51 downloads
  8. [user1@host mnt]$ cd downloads
  9. [user1@host downloads]$ touch test1
  10. touch: cannot touch β€˜test1’: Permission denied
  11. [user1@host downloads]$ echo bla > test1
  12. -bash: test1: Permission denied
  13. [user1@host downloads]$ ls -hl
  14. total 0
  15. -rw-rw-r--. 1 1025 users 0 Oct 31 13:37 test1
Add Comment
Please, Sign In to add comment