nbensa at gmail.com
Sat Mar 14 18:29:54 UTC 2009
On Sat, Mar 14, 2009 at 4:19 PM, Mahadi Hasan <tomahadi at gmail.com> wrote:
> I have recently installed Ubuntu 8.10. Every time I boot ubuntu I
> need to mount windows drives, formatted with FAT32, manually. But I
> want them to mount automatically every time I boot Ubuntu. How do I do
echo "/dev/your-parition /your-mount-point vfat defaults 0 0" | sudo
tee -a /etc/fstab
> One of the drives is only accessible by me ( I'm the administrator)
> while other users don't have the permission neither to read nor write.
> How do I make the drive accessible for others?
Is this the same drive you describe above?
You could create a group, add the users to that group and finally
mount the drive with permissions for the group:
sudo groupadd canseedrive
sudo gpasswd -a user1 canseedrive
sudo gpaaswd -a user2 canseedrive
sudo gpasswd -a user3 canseedrive
sudo mount -o devgid=canseedrive,devmode=0660 -t vfat /dev/partition
Note that f you want to mount on boot, you should replace "defaults"
with "devgid=....." in the fstab line I wrote above.
More information about the ubuntu-users