Hi guys,
I have a weird permissions problem on a USB drive.
As my non-root user account, I mount the USB drive using either:
Code:
su
mount -t vfat /dev/sda1 /mnt/usb
or
Code:
sudo mount -t vfat /dev/sda1 /mnt/usb
I can then read from the device, but if I try to write to it I'm told I don't have permission.
Before mounting the drive, the /mnt/usb folder is owned by the non-root account and has full permissions.
After I mount the drive, the ownership and permissions change to that of root.
I know I can modify my fstab file so that /dev/sda1, /dev/sdb1 etc. can be mounted by users - but this doesn't work for me. I often mount my USB iPod (which also shows up as /dev/sda1 or sdb1) into the /mnt/ipod folder... so the fstab route isn't ideal.
Does anyone have an idea as to why permissions are being assigned to a vfat USB drive?
System is Slack 10.2 with 2.6.17.7 kernel.
Mark.