[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #17928 [Core Tor/Tor]: Warnings in syslog for wrong permissions on hidden service dir are misleading



#17928: Warnings in syslog for wrong permissions on hidden service dir are
misleading
-----------------------------+------------------------------------
 Reporter:  throwaway232344  |          Owner:
     Type:  enhancement      |         Status:  needs_information
 Priority:  Very Low         |      Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor     |        Version:  Tor: 0.2.7.5
 Severity:  Trivial          |     Resolution:
 Keywords:  tor-hs           |  Actual Points:
Parent ID:                   |         Points:  2
 Reviewer:                   |        Sponsor:  SponsorR-can
-----------------------------+------------------------------------
Changes (by dgoulet):

 * status:  new => needs_information


Comment:

 This is a bit more complicated. The warning is a general one that is used
 for different purposes. So we can't really error because there is this
 mode where we can also auto fix it for you thus the warning makes sense in
 that case.

 Ok, maybe we could do that for the hidden service directory actually,
 auto-fixing it. We would simply need to call `check_private_dir` without
 the `CPD_CHECK_MODE_ONLY` so once it realizes that the perms are
 incorrect, it could then go on and fix them to `0700`.

 Should we?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17928#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs