Opened 14 years ago

Last modified 8 years ago

#341 closed defect (Implemented)

Mac OS X: bad permissions for log file

Reported by: Steff-X Owned by: phobos
Priority: Low Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: Steff-X Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Following Apple guidelines, the location of Tor log file is incorrect (should be in /var/log/). A link is made from /var/log/tor to Library/Tor/var/log/tor.
However, permissions are wrong when compared to other system logs and application cannot read it. File should be owned by root:admin
and permissions set to -rw-r-----

[Automatically added by flyspray2trac: Operating System: OSX 10.4 Tiger]

Child Tickets

Change History (5)

comment:1 Changed 14 years ago by phobos

I'm assuming when you refer to "" you mean the console log reader. Tor doesn't use OSX system logging, it writes

out its own log, hence the permission settings. I'll see what I can figure out to not break Tor logging nor Console log viewer.

comment:2 Changed 14 years ago by phobos

I've added this for the branch to do list.

comment:3 Changed 14 years ago by phobos

SVN revisions 9803 and 9804 commit this to the current -trunk branch of Tor. This should place a /var/log/tor.log with
proper permissions.

comment:4 Changed 14 years ago by phobos

flyspray2trac: bug closed.

comment:5 Changed 8 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.