Re: The x Bit Problem

From: Tomasz Rola
Date: Fri Dec 05 2003 - 07:25:37 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 5 Dec 2003, Bob wrote:

> Windows doesn't just ignore it. When I move
> files from win to linux all the x bits are turned
> on so txt and bz2 and jpg files are marked
> executable. That's annoying and a security
> risk.

I'm jumping into this thread so this might have already been told but how
about umask=0111 mount option for dos (fat,vfat etc) filesystems? Also,
one may mount nodev, noexec and nosuid when appropriate. This, of course,
is not remedy, just a little painkiller.

bye
T.

- --
** A C programmer asked whether computer had Buddha's nature. **
** As the answer, master did "rm -rif" on the programmer's home **
** directory. And then the C programmer became enlightened... **
** **
** Tomasz Rola mailto:tomasz_rola@xxxxxxxxxxx **


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBP9B6dRETUsyL9vbiEQKUaACgwt2yOk6vtNZxfs5y2volDhvnoXkAoK+X
jfyT78ztYklvsTt2SOKCaEaU
=TJm7
-----END PGP SIGNATURE-----


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/