Emon,

VFAT does not have any facility to store access rights.  When you
mount a vfat partition, Linux calculates the access bits of all files
and directories on the partition based on your umask.

To get the access bits you want, you need to set the umask option in
the options column of /etc/fstab.  Look at the man page of mount.vfat
(or mount) to get the details.


--
Mojahed


On 12/21/05, Emon <[EMAIL PROTECTED]> wrote:
>
> Hi all
> I am a newbie running Slackware10.2. I also have two FAT32
> partitions and their entry in the /etc/fstab is like this
>
> **********
> /dev/hda14       /mnt/hd/MAGIC-STORE vfat
> uid=1000,gid=100         1   0
> /dev/hda15       /mnt/hd/MULTIMEDIA vfat        uid=1000,gid=100
>         1   0
> **********
>
> Any folder & file that I create in my home directory has the
> access right 755 & 644 respectively, which is OK with me.
>
> Any folder created in /mnt/hd/MAGIC-STORE has access right 755,
> but new files created, also seem to have 755 permission, NOT
> 644. Why is that so??
>
> Moreover all other files which were already in this partition
> long before I installed Linux, are also shown to have 755
> permission!!
>
> So.. what is going on?? as far as I know the default umask value
> on my system is 0022.
>
> Thanks
> Emon


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/hYOolB/TM
--------------------------------------------------------------------~-> 

To unsubscribe send a blank mail to:
        [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/bdlug/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to