Viktor Lakics said at �[expert] Why do all Linux files from FAT32 partition
looks executable?�.
[2000-09-20 20:55]

> Hi all,
>
> I have an interesting problem, I could not find the answer for this in
> the last three years ( since I first installed Linux).
>
> When I copy a file from a Windoze partition (or I have a CD with linux
> rpms, which was created under windoze) to a Linux partition, the file
> has executable attributes in all three places (owner, group, the rest
> of the world). Even if it is an rpm file or a tgz or even a backed up
> XF86Config file...
>

Look at the mount man page, under the "special options for VFAT file
systems",
and there are some mounting options just to do what you want, such as
asigning the user under you see a dos or win partition (uid=xxx, gid=xxxx)
and the mask permissions for files creted there (umask=0XXX). Play with
the umask until you get the permissions you want, and then add the
option in /etc/fstab.

--
Juan Antonio Magallon Lacarta             mailto:[EMAIL PROTECTED]
Grupo de Informatica Grafica Avanzada             http://giga.cps.unizar.es
Tlf: 34-976-762354,1916 - Fax: 34-976-761914

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to