Re: [PATCH][RFC] Apply umask to /proc/<pid>

From: Bodo Eggert
Date: Sat Mar 12 2005 - 20:22:01 EST

Rene Scharfe <rene.scharfe@xxxxxxxxxxxxxx> wrote:

> patch below makes procfs apply the umask of the processes to their
> respective /proc/<pid> directories and the files below them. That
> allows users to gain a bit of privacy by setting a restrictive umask in
> their profiles.

A [ur]limit-like value is fine, but allowing others to read the files you
put into a public directory should not imply giving up your privacy.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at