Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [millironx@mymachine ~]$ sudo umount /mnt
- [millironx@mymachine ~]$ sudo mount -t cifs -o username=millironx,password=mypassword,domain=AD //files.example.com/shared /mnt
- [millironx@mymachine ~]$ cd /mnt/matlab-program
- [millironx@mymachine matlab-program]$ touch testfile
- touch: cannot touch 'testfile': Permission denied
- [millironx@mymachine matlab-program]$ sudo chmod +rwx /mnt/matlab-program
- [millironx@mymachine matlab-program]$ touch testfile
- touch: cannot touch 'testfile': Permission denied
- [millironx@mymachine matlab-program]$ sudo touch testfile
- [millironx@mymachine matlab-program]$ ls
- testfile
- [millironx@mymachine matlab-program]$ rm testfile
- rm: remove write-protected regular empty file 'testfile`? y
- rm: cannot remove 'testfile': Permission denied
- [millironx@mymachine matlab-program]$ sudo rm testfile
- [millironx@mymachine matlab-program]$ sudo matlab
- sudo: matlab: command not found
Add Comment
Please, Sign In to add comment