From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264095AbTLEMYN (ORCPT ); Fri, 5 Dec 2003 07:24:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264104AbTLEMYN (ORCPT ); Fri, 5 Dec 2003 07:24:13 -0500 Received: from chello062179052249.chello.pl ([62.179.52.249]:44477 "EHLO pioneer.space.nemesis.pl") by vger.kernel.org with ESMTP id S264095AbTLEMYL (ORCPT ); Fri, 5 Dec 2003 07:24:11 -0500 Date: Fri, 5 Dec 2003 13:30:38 +0100 (CET) From: Tomasz Rola To: Bob cc: linux-kernel , Tomasz Rola Subject: Re: The x Bit Problem In-Reply-To: <3FD03CD9.8020103@nishanet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org -----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@bigfoot.com ** -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQA/AwUBP9B6dRETUsyL9vbiEQKUaACgwt2yOk6vtNZxfs5y2volDhvnoXkAoK+X jfyT78ztYklvsTt2SOKCaEaU =TJm7 -----END PGP SIGNATURE-----