Linux-kernel mailing list archive 2000-01,: Re: [2.2.13] FAT filesystems: separate umask for directories

# Re: [2.2.13] FAT filesystems: separate umask for directories

Leos Bitto (leos@servers.globopolis.com)
Mon, 3 Jan 2000 19:49:28 +0100 (CET)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Andrea Arcangeli: "Re: no-swapout"
- Previous message: Gregory Maxwell: "Re: Unexecutable Stack / Buffer Overflow Exploits..."

On 3 Jan 2000, Florian Weimer wrote:

> The following patch allows setting a different umask for directories
> on FAT filesystems. This is useful if you want the files to be of
> mode 0644, while the directories should be 0755. The patch is
> completely nonintrusive, i.e. only if the new `dir_umask' mount option
> is specified, something happens.

If everything you need is to get files 0644 and directories 0755,
use the "noexec" option. No need to hack the kernel every time you
need to get your job done. :)

Leos

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

- Next message: Andrea Arcangeli: "Re: no-swapout"
- Previous message: Gregory Maxwell: "Re: Unexecutable Stack / Buffer Overflow Exploits..."