mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 931586 - Use FileUtils.PERMS_DIRECTORY instead of 0755 in nsUpdateService.js. r=bbondy
This commit is contained in:
parent
909ab48cde
commit
e1399e0249
@ -969,7 +969,7 @@ function getUpdatesDirInApplyToDir() {
|
||||
#endif
|
||||
dir.append(DIR_UPDATES);
|
||||
if (!dir.exists()) {
|
||||
dir.create(Ci.nsILocalFile.DIRECTORY_TYPE, 0755);
|
||||
dir.create(Ci.nsILocalFile.DIRECTORY_TYPE, FileUtils.PERMS_DIRECTORY);
|
||||
}
|
||||
return dir;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user