/etc/fstab issues
I have a USB external hard drive that I'm trying to get working with Linux.
First, I modified my /etc/fstab file:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /boot ext3 defaults 0 2
/dev/hda5 none swap sw 0 0
/dev/hdb /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
# external usb hard drive
/dev/sdb1 /mnt/usbdrive ntfs defaults,user 0 0
I included the "user" option specifically so that I would be able to access the device without the root account. When I mount it as root, it works great and I am able to access all the files.
However, my problem is that although it lets me mount as a normal user, the owner and group of the /mnt/usbdrive both remain root. Now I'm not quite sure how this works, but I figured that these would automatically be set depending on who was mounting the device. What's worst, even if I do change the ownership and group while the device is unmounted, it is automatically set back to root as soon as I mount again! What's going on?
Thanks.
|