USB Flash Drive
ok i just got a new toy. Its a USB flash drive... i know i know big deal eveyone has one but i didnt till now. ok so i can mount it easy with redhat 9
this mounts my drive and it works great as root but i cant get any other user to mount it or write to it, and if i do a
mount /dev/sda1 /mnt/USBdrive
i get (using chmod 777 /mnt/USBdrive 2> output.txt)
chmod 777 /mnt/USBdrive
thanks for the info
chmod: changing permissions of `/mnt/USBdrive/' (requested: 0777, actual: 0755): Operation not permitted
add something like this to your /etc/fstab file:
/dev/sda1 /mnt/USBdrive vfat rw,user,umask=0222 0 0
ok most of that i understand except for the end
rw = read/write i assume
user = should i list the users i want to have access to flash drive in the second 0 after the equal sign.
umask = i have no idea on this
then the 0222 0 0 i assume are the values for these the three variables to the left of the equal sign. i will add this and try it but i like to know how things tick as well as just getting them to work.
There is actually a new guide for FC2 on USB key automation via autofs: Autofs, USB keys and Fedora Core 2 :idea: