Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. pi@tcam:~ $ id -u
  2. 1000
  3. pi@tcam:~ $ ls -la test
  4. total 8
  5. drwxr-xr-x 2 pi pi 4096 May 20 09:58 .
  6. drwxr-xr-x 5 pi pi 4096 May 20 09:58 ..
  7. pi@tcam:~ $ sudo mount -o rw,uid=1000,gid=1000,umask=0000 /dev/loop0 /home/pi/test
  8. pi@tcam:~ $ ls -la test
  9. total 132
  10. drwxr-xr-x 5 root root 32768 May 20 09:29 .
  11. drwxr-xr-x 5 pi pi 4096 May 20 09:58 ..
  12. drwxr-xr-x 2 root root 32768 May 19 02:22 $RECYCLE.BIN
  13. drwxr-xr-x 2 root root 32768 May 19 02:21 System Volume Information
  14. pi@tcam:~ $ touch test/test
  15. touch: cannot touch 'test/test': Permission denied
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement