commit a976d4cd0e113c501c7714b7ef442e70db6a3813
parent 6fce0ef2a63d16b33e11a8eb6a7810ee5e8acae8
Author: Dan Stillman <dstillman@zotero.org>
Date: Sun, 27 Aug 2006 21:17:49 +0000
Fixes #212, Fails to load on Linux
Wrong permissions set on new Scholar directory
Diffstat:
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
@@ -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;
}