Ticket #146 (closed defect: fixed)
Opened 19 months ago
Last modified 19 months ago
umask option doesn't actually work
Reported by: | douglas@openplans.org | Owned by: | roy |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | rc | Version: | 0.4 |
Keywords: | umask | Cc: |
Description
start-stop-daemon has a -k or --umask option to set the daemon's umask parameter. The code at source:trunk/src/rc/start-stop-daemon.c?rev=1480#L1044 updates the umask if it has been supplied on the command line.
Unfortunately source:trunk/src/rc/start-stop-daemon.c?rev=1480#L1164 overrides this value. I'm including a patch with a fix.
Attachments
Change History
Changed 19 months ago by douglas@openplans.org
- attachment openrc-0.4.1-umask.patch added
Note: See
TracTickets for help on using
tickets.
A fix that unifies the umask handling code