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
--- 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*