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

[tor-bugs] #16401 [Onionoo]: Fail-fast if file access permissions for out and status prevent an update



#16401: Fail-fast if file access permissions for out and status prevent an update
-------------------------+---------------------
 Reporter:  leeroy       |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:
Component:  Onionoo      |        Version:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+---------------------
 Regular backups of the ''out'' and ''status'' folders for an Onionoo
 server is encouraged. When running as a separate user it wouldn't be
 uncommon to have the archives owned by another user. Onionoo's updater
 doesn't check the access permissions for ''out'' and ''status'' until
 after rebuilding the folder ''in'', and it basically fills the logs with
 entries for every file it failed to access. So if you didn't recursively
 set access permissions that's a lot of log entries before the updater
 finally stops.

 If the Onionoo updater were to check the permissions early and fail-fast
 it would prevent this behavior.

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