Opened 3 years ago

Closed 3 years ago

#21464 closed defect (fixed)

Make relay and client directory permissions consistent

Reported by: teor Owned by: teor
Priority: Medium Milestone:
Component: Core Tor/Chutney Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Chutney creates the data directory with mode 0777, and when relays add keys to it, they modify the permissions to 0700.

But clients never add keys, so they remain at 777.

We can make this consistent by creating the directory with mode 0700 to begin with.

Child Tickets

Change History (1)

comment:1 Changed 3 years ago by teor

Resolution: fixed
Status: newclosed

Required for control sockets to work.

Fixed in my branch control-fixes on https://github.com/teor2345/chutney.git

Merged: passes tor master's make test-network-all on macOS 10.12 and Ubuntu 16.04.2.

Note: See TracTickets for help on using tickets.