Can't read mounted drive
I can mount a drive just fine, have to do it as root, but when I login in as a user I can't read the mounted drive. What do I do?
|
Try and use a umask
eg: mount -o umask=022 /dev/device /mnt/mntpoint |
Now how do I make it so it mounts like then when I login.
|
Add line to /etc/fstab file using a text-editor as the root user. It is pretty straightforward, you can figure it out by looking at it. The 'umask=022' goes in the options field, where 'defaults' sometimes is, before the last two zeros. Multiple options are seperated by commas, and each field is seperated by a space. Also put an 'auto' option to mount on startup. Don't forget to search, this is asked all the time.
|
This is the entry from my fstab
Code:
/dev/hda5 /mnt/windows ntfs umask=022 |
All times are GMT -5. The time now is 07:14 PM. |