-   Linux - Newbie (
-   -   Can't read mounted drive (

mabarnes 12-18-2003 11:08 PM

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?

Kristijan 12-19-2003 12:05 AM

Try and use a umask

eg: mount -o umask=022 /dev/device /mnt/mntpoint

mabarnes 12-19-2003 01:00 PM

Now how do I make it so it mounts like then when I login.

aaa 12-19-2003 01:07 PM

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.

Kristijan 12-19-2003 11:36 PM

This is the entry from my fstab


/dev/hda5      /mnt/windows      ntfs        umask=022

All times are GMT -5. The time now is 12:28 PM.