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

Re: [tor-bugs] #16070 [Tor]: Tor log doesn't have to be world readable



#16070: Tor log doesn't have to be world readable
-----------------------------+-----------------
     Reporter:  yurivict271  |      Owner:
         Type:  defect       |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-----------------

Comment (by yurivict271):

 > Nyx generally doesn't have trouble getting the information I need since
 the log file and /proc are world readable.

 But nothing should really be world readable. Also to connect to ctrl port
 process needs permissions:

 > srw-------  1 _tor  _tor     0 May 17 15:12 ctrl

 So if I run nyx with some regular user, it will fail. There should be the
 policy and documentation on which users can connect, and what groups and
 permissions are needed.

 Also /proc is the linux artifact, not a good idea to use it and rely on it
 in general. Such info should be accessed through some generic interface.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16070#comment:8>
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