Bug 931586 - Use FileUtils.PERMS_DIRECTORY instead of 0755 in nsUpdateService.js. r=bbondy

This commit is contained in:
Robert Strong 2013-10-27 19:27:21 -07:00
parent 909ab48cde
commit e1399e0249

View File

@ -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;
}