Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 181572 Details for
Bug 258510
=sys-apps/openrc-0.4* has umask option that doesn't work
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/openrc-0.4.1-umask.patch fixes the umask bug
openrc-0.4.1-umask.patch (text/plain), 602 bytes, created by
Douglas Mayle
on 2009-02-10 21:50:02 UTC
(
hide
)
Description:
files/openrc-0.4.1-umask.patch fixes the umask bug
Filename:
MIME Type:
Creator:
Douglas Mayle
Created:
2009-02-10 21:50:02 UTC
Size:
602 bytes
patch
obsolete
>diff -ru openrc-0.4.1-orig/src/rc/start-stop-daemon.c openrc-0.4.1-modified/src/rc/start-stop-daemon.c >--- openrc-0.4.1-orig/src/rc/start-stop-daemon.c 2008-12-23 05:45:41.000000000 -0500 >+++ openrc-0.4.1-modified/src/rc/start-stop-daemon.c 2009-02-10 16:30:19.000000000 -0500 >@@ -1037,6 +1037,8 @@ > pid_t mypid = getpid(); > if (setumask) > umask(numask); >+ else >+ umask(022); > > #ifdef TIOCNOTTY > tty_fd = open("/dev/tty", O_RDWR); >@@ -1170,8 +1172,6 @@ > setenv("PATH", newpath, 1); > } > >- umask(022); >- > stdout_fd = devnull_fd; > stderr_fd = devnull_fd; > if (redirect_stdout) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258510
: 181572 |
181574