Fixes #212, Fails to load on Linux

Wrong permissions set on new Scholar directory
This commit is contained in:
Dan Stillman 2006-08-27 21:17:49 +00:00
parent 6fce0ef2a6
commit a976d4cd0e

View file

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