Guest User

Untitled

a guest
Jul 12th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. [millironx@mymachine ~]$ sudo umount /mnt
  2. [millironx@mymachine ~]$ sudo mount -t cifs -o username=millironx,password=mypassword,domain=AD //files.example.com/shared /mnt
  3. [millironx@mymachine ~]$ cd /mnt/matlab-program
  4. [millironx@mymachine matlab-program]$ touch testfile
  5. touch: cannot touch 'testfile': Permission denied
  6. [millironx@mymachine matlab-program]$ sudo chmod +rwx /mnt/matlab-program
  7. [millironx@mymachine matlab-program]$ touch testfile
  8. touch: cannot touch 'testfile': Permission denied
  9. [millironx@mymachine matlab-program]$ sudo touch testfile
  10. [millironx@mymachine matlab-program]$ ls
  11. testfile
  12. [millironx@mymachine matlab-program]$ rm testfile
  13. rm: remove write-protected regular empty file 'testfile`? y
  14. rm: cannot remove 'testfile': Permission denied
  15. [millironx@mymachine matlab-program]$ sudo rm testfile
  16. [millironx@mymachine matlab-program]$ sudo matlab
  17. sudo: matlab: command not found
Add Comment
Please, Sign In to add comment