Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
I have a 100GB FAT partition on my hard drive, and running openSuSe on my main partition. But, for some reason I cannot save files to it. Can someone please ...
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    50

    Unable to write files to my FAT32 Partition.

    I have a 100GB FAT partition on my hard drive, and running openSuSe on my main partition. But, for some reason I cannot save files to it.

    Can someone please help me out?

    Thank you,

    Dustin.

    My etc/fstab if it helps:

    Code:
    /dev/sda2            /                    ext3       acl,user_xattr        1 1
    /dev/sda1            swap                 swap       defaults              0 0
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    debugfs              /sys/kernel/debug    debugfs    noauto                0 0
    usbfs                /proc/bus/usb        usbfs      noauto                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
    /dev/fd0             /media/floppy        auto       noauto,user,sync      0 0
    /dev/sda4            /audio               vfat       user,users,gid=users,umask=0002,utf8=true 0 0

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    post the output of fdisk -l command here.







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

  3. #3
    Just Joined!
    Join Date
    Sep 2006
    Posts
    50
    Thank you for your quick response Casper. Here is the output of that command.

    Code:
    linux-4vdx:~ # fdisk -l
    
    Disk /dev/hdb: 122.9 GB, 122942324736 bytes
    16 heads, 63 sectors/track, 238216 cylinders
    Units = cylinders of 1008 * 512 = 516096 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    
    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1         262     2104483+  82  Linux swap / Solaris
    /dev/sda2   *         263       13191   103852192+  83  Linux
    /dev/sda4           13192       26246   104864287+   c  W95 FAT32 (LBA)

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    are you able to save files after logging in as 'root'?
    edit '/dev/sda4 ....' line in /etc/fstab file.
    Code:
    /dev/sda4   /audio  vfat  defaults,umask=0 0 0
    save file and execute 'mount -a' command.






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

  5. #5
    Just Joined!
    Join Date
    Sep 2006
    Posts
    50
    It saved, but it still doesn't give me permissions to save anything there.

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    are you able to save files after logging in as 'root'?







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

  7. #7
    Just Joined!
    Join Date
    Sep 2006
    Posts
    50
    Yes, I am able to in Root.

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Code:
    /dev/sda4   /audio  vfat  defaults,umask=0 0 0
    that code should enable write access for normal users. check /etc/fstab file for typos.
    log in as normal user and try this
    Code:
    su -
    mkdir /audio1
    mount -t vfat /dev/sda4 /audio1 -o defaults,umask=0
    exit
    mkdir /audio1/temp
    dose it allow normal user to create folder?





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

  9. #9
    Just Joined!
    Join Date
    Sep 2006
    Posts
    50
    I got a permission denied error when typing those commands Casper.

    Here is my fstab again... again, thanks for the reply...

    Code:
    /dev/sda2            /                    ext3       acl,user_xattr        1 1
    /dev/sda1            swap                 swap       defaults              0 0
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    debugfs              /sys/kernel/debug    debugfs    noauto                0 0
    usbfs                /proc/bus/usb        usbfs      noauto                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
    /dev/fd0             /media/floppy        auto       noauto,user,sync      0 0
    /dev/sda4   	     /audio               vfat	     defaults,umask=0      0 0

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    I got a permission denied error when typing those commands
    did you execute 'su -' first?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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