Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. mkdir -p /media/restricted/joe/somedisk
  2. chown joe /media/restricted/joe/somedisk
  3. chmod 700 /media/restricted/joe/somedisk
  4. mount /dev/sdz42 /media/restricted/joe/somedisk
  5.  
  6. bindfs -o perms=a-w /media/private/somedisk /media/public-read-only/somedisk
  7.  
  8. mount -t vfat -o umask=0022,gid=33,uid=33 dev /var/www
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement