Click to See Complete Forum and Search --> : A silly lil question...


LoRdMaUL
08-18-2001, 02:57 AM
I have 2 Fat32 partions that I mount at boot time when I boot into my linux system. They are mounted as /win1 and /win2. Would there be any inherent danger or problems if I chmod'd them to 1777? This would make it alot easier to move files between them in my opinion. I wanted a lil feedback before I did this...thanks... :)

Gray_Race
08-18-2001, 12:02 PM
I would assume they are already at this setting? As I understand it you can't actully write permsisons to a fat32 partition. Fat32 can't accept permsisions like ext2 can.

bdl
08-18-2001, 12:35 PM
This has been covered numerous times on this mb, so please do a search on it. In short, you cannot change attributes on a FAT32 filesystem or its files as you can with ext2/reiserfs/etc. You can, however, mount it in such a way as to give it certain perms at mount time like so:


# example slice from /etc/fstab

/dev/hda1 /windows vfat rw,user,uid=1001,gid=1001,umask=027 0 0


The above example shows the FAT32 partition being mounted as uid & gid 1001 (presumably your UID and GID, change accordingly for your system) with perms of '0750' which should be good for a single user system. Change the umask to '000' if you want everyone to read and write to it (not recommended). Enjoy.