Re: [tor-bugs] #24508 [Core Tor/Nyx]: Nyx does not have access to its cache folder unless it is run as root

2017-12-04 Thread Tor Bug Tracker & Wiki
#24508: Nyx does not have access to its cache folder unless it is run as root
---+
 Reporter:  Dbryrtfbcbhgf  |  Owner:  atagar
 Type:  defect | Status:  closed
 Priority:  Medium |  Milestone:
Component:  Core Tor/Nyx   |Version:
 Severity:  Normal | Resolution:  fixed
 Keywords: |  Actual Points:
Parent ID: | Points:
 Reviewer: |Sponsor:
---+
Changes (by atagar):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Oh. Actually, Nyx already does the right thing. If it can't make a cache
 directory it simply disables it. Reducing the logged message to INFO level
 so it's not visible by default...

 https://gitweb.torproject.org/nyx.git/commit/?id=1e0f9a1

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #24508 [Core Tor/Nyx]: Nyx does not have access to its cache folder unless it is run as root

2017-12-04 Thread Tor Bug Tracker & Wiki
#24508: Nyx does not have access to its cache folder unless it is run as root
---+
 Reporter:  Dbryrtfbcbhgf  |  Owner:  atagar
 Type:  defect | Status:  new
 Priority:  Medium |  Milestone:
Component:  Core Tor/Nyx   |Version:
 Severity:  Normal | Resolution:
 Keywords: |  Actual Points:
Parent ID: | Points:
 Reviewer: |Sponsor:
---+

Comment (by atagar):

 Thanks Dbryrtfbcbhgf, great catch. You can sidestep this by having
 'data_directory disabled' or 'data_directory /tmp/cache' in your nyxrc...

 https://nyx.torproject.org/#configuration

 I'll change Nyx so it disables this by default when it lacks a writable
 home directory.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #24508 [Core Tor/Nyx]: Nyx does not have access to its cache folder unless it is run as root

2017-12-03 Thread Tor Bug Tracker & Wiki
#24508: Nyx does not have access to its cache folder unless it is run as root
---+
 Reporter:  Dbryrtfbcbhgf  |  Owner:  atagar
 Type:  defect | Status:  new
 Priority:  Medium |  Milestone:
Component:  Core Tor/Nyx   |Version:
 Severity:  Normal | Resolution:
 Keywords: |  Actual Points:
Parent ID: | Points:
 Reviewer: |Sponsor:
---+

Comment (by teor):

 Dbryrtfbcbhgf, you need to run nyx as a user that has permission to write
 to its own home directory, and permission to read tor's authcookie file.

 Using sudo is generally a bad idea, because it doesn't always reset $HOME.
 sudo -H may help.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #24508 [Core Tor/Nyx]: Nyx does not have access to its cache folder unless it is run as root

2017-12-03 Thread Tor Bug Tracker & Wiki
#24508: Nyx does not have access to its cache folder unless it is run as root
---+
 Reporter:  Dbryrtfbcbhgf  |  Owner:  atagar
 Type:  defect | Status:  new
 Priority:  Medium |  Milestone:
Component:  Core Tor/Nyx   |Version:
 Severity:  Normal | Resolution:
 Keywords: |  Actual Points:
Parent ID: | Points:
 Reviewer: |Sponsor:
---+

Comment (by Dbryrtfbcbhgf):

 Replying to [comment:1 arma]:
 > Why are you trying to run nyx as the debian-tor user? That's usually a
 bad idea.
 >
 > See item 13 at the bottom of https://www.torproject.org/docs/tor-relay-
 debian
 Thank you arma for the helpful information.
 Even as a non root and a non debian-tor user, nyx still does not have
 access to its cache folder.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #24508 [Core Tor/Nyx]: Nyx does not have access to its cache folder unless it is run as root

2017-12-03 Thread Tor Bug Tracker & Wiki
#24508: Nyx does not have access to its cache folder unless it is run as root
---+
 Reporter:  Dbryrtfbcbhgf  |  Owner:  atagar
 Type:  defect | Status:  new
 Priority:  Medium |  Milestone:
Component:  Core Tor/Nyx   |Version:
 Severity:  Normal | Resolution:
 Keywords: |  Actual Points:
Parent ID: | Points:
 Reviewer: |Sponsor:
---+

Comment (by arma):

 Why are you trying to run nyx as the debian-tor user? That's usually a bad
 idea.

 See item 13 at the bottom of https://www.torproject.org/docs/tor-relay-
 debian

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs