How to mount a drive with read only permission

Posted by Master on Server Fault See other posts from Server Fault or by Master
Published on 2010-05-12T03:25:25Z Indexed on 2010/05/12 3:34 UTC
Read the original article Hit count: 191

Filed under:
|

I am using this is fstab to mount the partition at backup.

/dev/sda5 /media/virtual ntfs defaults 0 0

When i reboot the permissions are automatically set to 777.

I want that only one user i.e userA can read and write , all others should not see the contents of that drive.

What should i do

anything like

 /dev/sda5 /media/virtual ntfs userA 700  defaults 0 0

© Server Fault or respective owner

Related posts about ubuntu

Related posts about fstab