Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2003
    Location
    southern california
    Posts
    66

    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
    Code:
    mount /dev/sda1 /mnt/USBdrive
    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
    Code:
    chmod 777 /mnt/USBdrive
    i get (using chmod 777 /mnt/USBdrive 2> output.txt)
    Code:
    chmod: changing permissions of `/mnt/USBdrive/' (requested: 0777, actual: 0755): Operation not permitted
    thanks for the info
    as always
    fragment
    I00I0I

  2. #2
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    add something like this to your /etc/fstab file:

    Code:
    /dev/sda1        /mnt/USBdrive         vfat        rw,user,umask=0222 0 0
    Good luck

  3. #3
    Just Joined!
    Join Date
    Sep 2003
    Location
    southern california
    Posts
    66
    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.


    thanks
    fragment
    I00I0I

  4. #4
    Just Joined!
    Join Date
    Aug 2004
    Posts
    10
    There is actually a new guide for FC2 on USB key automation via autofs: Autofs, USB keys and Fedora Core 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •