PDA

View Full Version : Granting ordinary users access to another partition?



athlonthunder
04-05-2003, 09:18 PM
I was wondering about granting an ordinary user access to a VFAT and an NTFS partition I have on the system.

Let's say NTFS drive is /dev/hda5 labeled NT1, and the VFAT is at /dev/hda6.

What do i change in FSTAB?

Thanks,

Win

athlonthunder
04-05-2003, 09:21 PM
Adding to my question, I was wondering what I chang in FSTAB and in the permissions for an ordinary user in, possibly KUser panel.

Stephen
04-06-2003, 06:28 AM
You would add lines:


/dev/hda5 /mnt/hda5 auto ro,auto,user,exec 0 0
/dev/hda6 /mnt/hda6 auto rw,auto,user,exec 0 0


The NTFS will mounted read only as you can not write to it. The fat will be mounted read write meaning that if the user wants to trash your files if they want change the rw to ro for read only.

You have to either mount the drives from a root console or reboot to access them they will be mounted during boot up. This assumes you are running from a HD install.