Find the answer to your Linux question:
Results 1 to 9 of 9
I have a FAT32 partition that is shared with Windows XP mounted under /windows. I want to set write permissions for all users for that partition, but when I use ...
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    8

    Can't change permissions on mounted FAT32 partition

    I have a FAT32 partition that is shared with Windows XP mounted under /windows. I want to set write permissions for all users for that partition, but when I use chmod 777 /windows nothing happens. The permissions remain rwxr-xr-x. The fstab options for the partition are rw and user, so the user should be able to write to it. How do I fix this?

  2. #2
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    try adding the umask=0000 to the fstab entry for the fat partition.
    Life is complex, it has a real part and an imaginary part.

  3. #3
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,621
    Here is my fstab entry for my FAT partition:
    Code:
    /dev/hdc5       /windows/E      vfat    iocharset=utf8,umask=000   0       0
    I got that from www.ubuntuguide.org
    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  4. #4
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    IIRC FAT32 doesn't support all the permissions dealy, so I'm not sure if you can change them once they are on it.
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  5. #5
    Just Joined!
    Join Date
    Feb 2006
    Posts
    1
    Same problem: fixed with the following fstab entry
    /dev/sda4 /windows/RW vfat rw,fat=32,umask=000,noexec,quiet 1 1

  6. #6
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    The umask thing should work as it sets the default permission for all the files on the filesystem - think of 777 - umask value = permissions of files.

    So to set all the files permission 777, use umask=000.

    Myself i use uid=1000,gid=100 instead to make me the owner of all files.

  7. #7
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Uppsala, Sweden
    Posts
    1,278
    FAT filesystem doesnt support any permissions so you have to fake it
    Proud to be a GNU/Gentoo Linux user!

  8. #8
    Just Joined! Infinitech's Avatar
    Join Date
    Jun 2011
    Posts
    3
    Quote Originally Posted by variant View Post
    FAT filesystem doesnt support any permissions so you have to fake it
    I'm new to Linux but have a little experience with it, using UBUNTU 11.04, I have an external 1TB USB HDD mounted to this computer which is running dual boot with Windows7. The HDD is formatted FAT32 and I've set the share options but the permisions for allowing others to access it say NONE and cannot be changed. I read through the threads and this one, even though it is from 2006, it seams closest to my issue but the things it says to do are not making sense to me... Does my issue sound like something that could be resolved by the above steps? if so can I get help on how to do so please?

  9. #9
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,093
    Hello and welcome aboard!

    This thread is over 5 years old so I'm locking it, but feel free to start a new thread of your own if you are having any problems with Linux.

    Thank you.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

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