Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    USB Mass storage .. Can't delete or write ..


    When ever I plug my USB mass storage I can't seem to be able to write or delete although it shows that all the ownership is for the user I am logging in..

    Here are the details...

    Here is my current fstab:
    HTML Code:
    /dev/sdb1 / ext3 defaults,errors=remount-ro 0 1
    /dev/sdb5 none swap sw 0 0
    /dev/hdd /media/cdrom0 iso9660 ro,user,noauto 0 0
    /dev/hda /media/cdrom1 iso9660 ro,user,noauto 0 0
    /dev/sdc1 /mnt/pretec vfat rw,noauto,user,umask=0,uid=1000,gid=1000 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
    /dev/sdd1 /mnt/card auto rw,noauto,user 0 0
    /dev/sda1 /media/ntfs ntfs defaults,ro,umask=0 0 0
    /dev/hdc1 /media/fat vfat rw,auto,umask=0,uid=1000,gid=1000 0 0
    /tmp/hfsimage /mnt/mac hfs defaults,noauto,user,loop 0 0

    Here is the mtab:
    HTML Code:
    /dev/sdb1 / ext3 rw,errors=remount-ro 0 0
    tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
    proc /proc proc rw,noexec,nosuid,nodev 0 0
    sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
    procbususb /proc/bus/usb usbfs rw 0 0
    udev /dev tmpfs rw,mode=0755 0 0
    tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
    devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
    /dev/sda1 /media/ntfs ntfs ro,umask=0 0 0
    /dev/hdc1 /media/fat vfat rw,umask=0,uid=1000,gid=1000 0 0
    /dev/sdc1 /mnt/pretec vfat rw,noexec,nosuid,nodev,umask=0,uid=1000,gid=1000,user=devil 0 0
    The drive is sdc1 mounted on /mnt/pretec which I use to mount my flash pen and USB mass storage ..
    Flash pen works fine.. USB storage doesn't...

    Will apprecaite any help..


  2. #2
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    hi Twinkle !

    whats the file system of USB? check the output of fdisk -l.

    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Here is what fdisk shows...

    Disk /dev/sdc: 40.0 GB, 40007761920 bytes
    255 heads, 63 sectors/track, 4864 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdc1 1 4865 39078081 b W95 FAT32

    "ls -ld /dev/sdc1" shows this any idea?

    brw-rw---- 1 root disk 8, 33 2007-01-12 20:49 /dev/sdc1

  4. $spacer_open
  5. #4
    what about
    ls -l /mnt/pretec
    With media, there is normally no permissions issue (atleast for me). However, with /mnt I always had to chmod it
    Brilliant Mediocrity - Making Failure Look Good

  6. #5
    Linux Newbie burntfuse's Avatar
    Join Date
    Nov 2006
    Laurel, MD
    Please excuse me for asking a stupid question, but your UID is 1000, right?
    I have sold my soul to the penguin

Posting Permissions

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