Opened 4 years ago

Closed 4 years ago

#21552 closed defect (fixed)

Change the default directory creation permissions globally

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


The change in #21464 made it so all calls to mkdir_p now use mode 448. To prevent future problems i suggest changing the default mode in mkdir_p which would also simplify existing calls.

Child Tickets

Attachments (1)

0001-Change-the-default-mode-when-creating-directories.patch (2.6 KB) - added by cypherpunks 4 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 4 years ago by cypherpunks

Status: newneeds_review

comment:2 Changed 4 years ago by teor

Resolution: fixed
Status: needs_reviewclosed


Works on both macOS and Linux, merged to master as 501dff3.

Note: See TracTickets for help on using tickets.