Annotation of /trunk/util-linux/patches/util-linux-2.12q-dont-umask.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 439 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 439 byte(s)
-import
1 | niro | 153 | Don't force umask to 022 or the -o umask option doesn't work. |
2 | |||
3 | Patch by Daniel Drake. | ||
4 | |||
5 | http://bugs.gentoo.org/93671 | ||
6 | |||
7 | --- mount/mount.c | ||
8 | +++ mount/mount.c | ||
9 | @@ -1491,8 +1491,6 @@ main(int argc, char *argv[]) { | ||
10 | if ((p = strrchr(progname, '/')) != NULL) | ||
11 | progname = p+1; | ||
12 | |||
13 | - umask(022); | ||
14 | - | ||
15 | /* People report that a mount called from init without console | ||
16 | writes error messages to /etc/mtab | ||
17 | Let us try to avoid getting fd's 0,1,2 */ |