From a976d4cd0e113c501c7714b7ef442e70db6a3813 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 27 Aug 2006 21:17:49 +0000 Subject: [PATCH] Fixes #212, Fails to load on Linux Wrong permissions set on new Scholar directory --- chrome/chromeFiles/content/scholar/xpcom/scholar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/chromeFiles/content/scholar/xpcom/scholar.js b/chrome/chromeFiles/content/scholar/xpcom/scholar.js index 971bc2ff8a..793469e802 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/scholar.js +++ b/chrome/chromeFiles/content/scholar/xpcom/scholar.js @@ -116,7 +116,7 @@ var Scholar = new function(){ file.append('scholar'); // If it doesn't exist, create if (!file.exists() || !file.isDirectory()){ - file.create(Components.interfaces.nsIFile.DIRECTORY_TYPE, 0664); + file.create(Components.interfaces.nsIFile.DIRECTORY_TYPE, 0755); } return file; } @@ -128,7 +128,7 @@ var Scholar = new function(){ file.append('storage'); // If it doesn't exist, create if (!file.exists() || !file.isDirectory()){ - file.create(Components.interfaces.nsIFile.DIRECTORY_TYPE, 0664); + file.create(Components.interfaces.nsIFile.DIRECTORY_TYPE, 0755); } return file; }