-
Notifications
You must be signed in to change notification settings - Fork 59
Private file permissions by default #551
Copy link
Copy link
Open
Labels
A-binariesArea: Related to binaries.Area: Related to binaries.C-requestCategory: A request for changes or a feature.Category: A request for changes or a feature.E-easyExperience: Easy difficulty. Experience needed to fix: Not much. Good first issue.Experience: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-help-wantedExperience: Call for participation: Help is requested to fix this issue.Experience: Call for participation: Help is requested to fix this issue.
Metadata
Metadata
Assignees
Labels
A-binariesArea: Related to binaries.Area: Related to binaries.C-requestCategory: A request for changes or a feature.Category: A request for changes or a feature.E-easyExperience: Easy difficulty. Experience needed to fix: Not much. Good first issue.Experience: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-help-wantedExperience: Call for participation: Help is requested to fix this issue.Experience: Call for participation: Help is requested to fix this issue.
Feature
cupratedcreates files with global read/execute permissions (rwxr-xr-x), any other process running on the machine can read these files.Certain libraries that create files (e.g. LMDB) may set their own
umaskalthoughcuprateddoes not. It would be prudent to set a private globalumaskbefore creating files:027rwxr-x---007rwx------Implementation
Windows will need a separate impl.