Bug 1525625 - [Mac] Flash plugin can not save settings r=Alex_Gaynor a=lizzard
authorHaik Aftandilian <haftandilian@mozilla.com>
Fri, 08 Feb 2019 20:42:10 +0000
changeset 513050 cea43c1728b9
parent 513049 2af591523036
child 513051 ad3595c3b64e
push id10697
push usernbeleuzu@mozilla.com
push dateThu, 14 Feb 2019 01:25:42 +0000
treeherdermozilla-beta@f47db91d62e1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersAlex_Gaynor, lizzard
bugs1525625
milestone66.0
Bug 1525625 - [Mac] Flash plugin can not save settings r=Alex_Gaynor a=lizzard Allow file-write-unlink in ~/Library/Preferences/Macromedia/Flash Player to allow changes made in the Flash Global Settings panel to persist. Differential Revision: https://phabricator.services.mozilla.com/D19217
security/sandbox/mac/SandboxPolicies.h
--- a/security/sandbox/mac/SandboxPolicies.h
+++ b/security/sandbox/mac/SandboxPolicies.h
@@ -804,17 +804,18 @@ static const char flashPluginSandboxRule
 
   (allow file-read* file-write-create file-write-mode file-write-owner
       (home-library-literal "/Caches/Adobe")
       (home-library-preferences-literal "/Macromedia"))
 
   (allow file-read* file-write-create file-write-data
       (literal "/Library/Application Support/Macromedia/mms.cfg")
       (home-library-literal "/Application Support/Macromedia/mms.cfg")
-      (home-library-subpath "/Caches/Adobe/Flash Player")
+      (home-library-subpath "/Caches/Adobe/Flash Player"))
+  (allow file-read* file-write-create file-write-data file-write-unlink
       (home-library-subpath "/Preferences/Macromedia/Flash Player"))
 
   (allow file-read*
       (literal "/Library/PreferencePanes/Flash Player.prefPane")
       (home-library-literal "/PreferencePanes/Flash Player.prefPane")
       (home-library-regex "/Application Support/Macromedia/ss\.(cfg|cfn|sgn)$"))
 
   (allow file-read*