Fixes #212, Fails to load on Linux
Wrong permissions set on new Scholar directory
This commit is contained in:
parent
6fce0ef2a6
commit
a976d4cd0e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue