mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813468 - Followup to fix filesystem permissions. [r=ferjm]
This commit is contained in:
parent
7650b53bfe
commit
ba5edca3be
@ -307,6 +307,16 @@ this.DOMApplicationRegistry = {
|
||||
this.installSystemApps(onAppsLoaded);
|
||||
else
|
||||
onAppsLoaded();
|
||||
|
||||
// XXX: To be removed as soon as the app:// protocol is remoted.
|
||||
// See Bug 819061
|
||||
let dir = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsIFile);
|
||||
dir.initWithPath("/data");
|
||||
dir.permissions = parseInt("755", 8);
|
||||
dir.append("local");
|
||||
dir.permissions = parseInt("755", 8);
|
||||
dir.append("webapps");
|
||||
dir.permissions = parseInt("755", 8);
|
||||
#else
|
||||
onAppsLoaded();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user