[tor-bugs] #28944 [- Select a component]: Debian logrotate misses line "su"

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 25 16:19:51 UTC 2018


#28944: Debian logrotate misses line "su"
--------------------------+--------------------------------------
 Reporter:  Ilka          |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Low           |      Component:  - Select a component
  Version:  Tor: 0.3.4.9  |       Severity:  Normal
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+--------------------------------------
 The freshly installed Tor Relay on Debian 9.6 creates a
 /etc/logrotate.d/tor that seems to miss a line. Without the option "su",
 logrotate produces this output:

 /etc/cron.daily/logrotate:
 error: skipping "/var/log/tor/debug.log" because parent directory has
 insecure permissions (It's world writable or writable by group which is
 not "root") Set "su" directive in config file to tell logrotate which
 user/group should be used for rotation.
 error: skipping "/var/log/tor/notices.log" because parent directory has
 insecure permissions (It's world writable or writable by group which is
 not "root") Set "su" directive in config file to tell logrotate which
 user/group should be used for rotation.
 run-parts: /etc/cron.daily/logrotate exited with return code 1

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28944>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list