Announcement

Collapse
No announcement yet.

how to solve readonly in vfat partion

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

    how to solve readonly in vfat partion

    hi ihave second hard drive i wanted to make auto mount in start up and want to make it read and write i have to creat and change files there i opened disk&filesystem in system setting and edit all partitions of that hd and checked on writeable and enable at startup and restarted the system it mounted ok but when i edit *.xls with openoffice i got message document is read only. i checked fstab here what it have
    proc /proc proc defaults 0 0
    # Entry for /dev/sda3 :
    UUID=b96cf92e-5758-4959-9bf9-4fe05564c0cd / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
    # Entry for /dev/ !! UNKNOW DEVICE !! :
    UUID=9AECC1EFECC1C5AB /media/sda1 ntfs-3g defaults,locale=en_US.UTF-8 0 1
    # Entry for /dev/sda2 :
    UUID=88ed7e6a-c849-42a7-a9e1-4213e295d84f none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
    /dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0
    /dev/sda1 /media/Server\040D ntfs-3g defaults,locale=en_US.UTF-8 0 0
    /dev/sdb1 /media/sdb1 auto nouser,atime,auto,rw,nodev,noexec,nosuid 0 0
    /dev/sdb5 /media/sdb5 auto nouser,atime,auto,rw,nodev,noexec,nosuid 0 0
    /dev/sdb6 /media/sdb6 auto nouser,atime,auto,rw,nodev,noexec,nosuid 0 0
    /dev/sdb7 /media/sdb7 auto nouser,atime,auto,rw,nodev,noexec,nosuid 0 0
    /dev/sda1 /media/sda1 auto nouser,atime,auto,rw,nodev,noexec,nosuid 0 0
    now what i have to do i checked the ntfs partition it worked ok

    #2
    Re: how to solve readonly in vfat partion

    I can't see any entries for vfat partitions there. But the usual cause of being unable to write to them is to do with the 'umask'. Basically because vfat doesn't have any file ownership or permissions, linux defaults to considering all files and directories owned by root and not writable by anyone else. You need to change that, but since there's no entry for the partition in the fstab, I'm not sure how.
    I am running Ubuntu 8.10 (yes Gnome) with upgrades applied daily about 0900 UK time. Hardware is Dell Precision 420, 2x 800 MHz PIII, 512 MB RDRAM, nVidia GeForce 6800 128 MB AGP graphics, 18GB SCSI and 500GB IDE HDDs, DVD burner, Hauppage TV card.

    Comment


      #3
      Re: how to solve readonly in vfat partion

      Here the pertenant line for my vfat read/writables/executables:
      /dev/sda5 /Data vfat utf8,umask=007,gid=46 0 1
      I hope that points you in the right direction
      HP Pavilion dv6 core i7 (Main)
      4 GB Ram
      Kubuntu 18.10

      Comment


        #4
        Re: how to solve readonly in vfat partion

        thanks man i changed fstab as u said it works fine now but i want to ask is this partitions wil be auti mount at startup??

        Comment


          #5
          Re: how to solve readonly in vfat partion

          Good Glad to be of help.
          They do on mine.
          HP Pavilion dv6 core i7 (Main)
          4 GB Ram
          Kubuntu 18.10

          Comment


            #6
            Re: how to solve readonly in vfat partion

            thank u fintan u r great man

            Comment


              #7
              Re: how to solve readonly in vfat partion

              If you want to NOT mount a partition at boot, add 'noauto' to the options (the list of things seperated by commas - note there need to be NO SPACES there). Auto is the default.
              I am running Ubuntu 8.10 (yes Gnome) with upgrades applied daily about 0900 UK time. Hardware is Dell Precision 420, 2x 800 MHz PIII, 512 MB RDRAM, nVidia GeForce 6800 128 MB AGP graphics, 18GB SCSI and 500GB IDE HDDs, DVD burner, Hauppage TV card.

              Comment

              Working...
              X