USB key /dev/sdb1 permissions problem...
Just wondering if someone could help me out...
I want to use mtools so that i can use my USB Flash Key without mounting and unmounting it all the time...
i added the following line to /etc/mtools.conf
drive u: file="/dev/sdb1" exclusive mformat_only
then i created a link on my desktop to ' floppy:/u '
It did not work because my permission on /dev/sdb1 were set to 700 (only for root)
So i changed it to 777 and got it working perfectly.
However, when i unplug the usb key and then plug it back in, my permissions get set back to 700 for /dev/sdb1
I tried doing a mknod for /dev/sdb1 and then changing the permissions to 777. It worked great, but when i unplug the USB key again... the device /dev/sdb1 dissapears...
when i plug it back in, it reappears but with the permission 700 (for root only).
I don't want to keep doing a chmod 777 /dev/sdb1 each time i want to use mtools.
Can anyone point me in the right direction where when i plug my usb key in, i can get the permissions to automatically be set to 777...?
I'm Running Fedora Core 3