Ticket #6604 (closed defect: fixed)
[PATCH] tracd pidfile is created world-writable
| Reported by: | olly@… | Owned by: | remy.blank@… |
|---|---|---|---|
| Priority: | high | Milestone: | 0.11.1 |
| Component: | web frontend/tracd | Version: | |
| Severity: | normal | Keywords: | security |
| Cc: | remy.blank@… |
Description
If tracd is run with -d and --pidfile, then while daemonising the umask is set to 0 and the pidfile is then created with file permissions 0777. This means that any user on the system can change its contents, which could result in a different process being killed if someone does kill -INT `cat pidfile`.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


