Announcement

Collapse
No announcement yet.

SOLVED !!! USB Drive Is Read Only Despite Several chmod and fstab Edits !!!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SOLVED !!! USB Drive Is Read Only Despite Several chmod and fstab Edits !!!

    Here is a snapshot of my fstab file. The USB Drive is a Ximeta disk connected via USB (/dev/sdd1) mounted to /media/disk.

    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options>   <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda1
    UUID=6a03aef4-d6dd-4d0f-b0d4-b9624ec2bec3 / ext3 nouser,relatime,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
    # /dev/sda5
    UUID=4ada8bfb-7951-41a2-97af-a7066652c4eb none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,utf8,atime,noauto,rw,dev,exec,suid 0 0
    /dev/fd0 /media/floppy0 auto user,utf8,atime,noauto,rw,dev,exec,suid 0 0
    /dev/sdd1 /media/disk auto users,atime,auto,rw,nodev,exec,nosuid 0 0
    /dev/sdb1 /media/data auto nouser,atime,auto,rw,nodev,noexec,nosuid 0 0
    /dev/sdc4 /media/zip auto nouser,atime,noauto,rw,nodev,noexec,nosuid 0 0
    I've tried changing the permissions using the Kubuntu gui from the desktop (Access denied), and also from a terminal as root using chmod. Here are the results of the latter:

    Code:
    $ sudo chmod -v 0777 /media/disk/
    mode of `/media/disk/' changed to 0777 (rwxrwxrwx)
    $ ls -l /media/disk
    total 240
    drwxr-xr-x 2 root root 16384 2008-11-24 05:16 barc
    drwxr-xr-x 4 root root 16384 2008-10-19 07:12 boy
    drwxr-xr-x 27 root root 16384 2008-11-23 14:30 download
    drwxr-xr-x 2 root root 16384 2008-04-08 22:45 Geneology
    drwxr-xr-x 12 root root 16384 2008-11-24 04:47 Home
    drwxr-xr-x 32 root root 98304 2008-11-23 20:05 music
    drwxr-xr-x 15 root root 16384 2008-11-24 04:40 old
    drwxr-xr-x 7 root root 16384 2008-11-24 05:13 Photos
    drwxr-xr-x 4 root root 16384 2008-06-01 14:14 Resort
    drwxr-xr-x 5 root root 16384 2008-06-29 11:34 Videos
    $
    Even after I perform the above commands, the drive will not let me (as a normal user) write or change anything. How can I change the permissions of this drive for real?

    mhumm2
    "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

    #2
    Re: USB Drive Is Read Only Despite Several chmod and fstab Edits !!!

    I'm assuming the USB drive is formatted as fat32 (vfat). If so, see my post here.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: SOLVED !!! USB Drive Is Read Only Despite Several chmod and fstab Edits !!!

      Snowhog;

      Thanks! That did it!

      Code:
      /dev/sdd1 /media/disk vfat defaults,users,umask=0,atime,noauto 0 0
      This fstab line works. Thanks again.

      mhumm2
      "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

      Comment


        #4
        Re: SOLVED !!! USB Drive Is Read Only Despite Several chmod and fstab Edits !!!

        Happy to "pass on" what was given to me.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment

        Working...
        X