Bug 1926997: New profile directories should not be world readable. r=profiles-reviewers,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D241597
This commit is contained in:
@@ -976,13 +976,19 @@ class SelectableProfileServiceClass extends EventEmitter {
|
||||
PathUtils.join(
|
||||
SelectableProfileServiceClass.getDirectory("DefProfRt").path,
|
||||
profileDir
|
||||
)
|
||||
),
|
||||
{
|
||||
permissions: 0o700,
|
||||
}
|
||||
),
|
||||
IOUtils.makeDirectory(
|
||||
PathUtils.join(
|
||||
SelectableProfileServiceClass.getDirectory("DefProfLRt").path,
|
||||
profileDir
|
||||
)
|
||||
),
|
||||
{
|
||||
permissions: 0o700,
|
||||
}
|
||||
),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user