Last modified by Vincent Massol on 2020/08/28

<
From version < 5.1 >
edited by Guillaume Fenollar
on 2012/03/06
To version < 6.1 >
edited by Caleb James DeLisle
on 2012/05/18
>
Change comment: Added read/write/delete of temporary and persistent directories to recommended securitymanager permissions.

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.GuillaumeFenollar
1 +XWiki.CalebJamesDeLisle
Content
... ... @@ -39,6 +39,15 @@
39 39   permission java.net.SocketPermission "127.0.0.1:3306", "connect,resolve";
40 40  // Needed by the scheduler plugin -> quartz, but works without (maybe except scheduling? should be checked)
41 41  // permission java.util.PropertyPermission "org.quartz.properties", "read";
42 +
43 +//Allow file storage directory reading - for directory and everything underneath
44 +//This is dependent on the setting of environment.permanentDirectory in xwiki.properties
45 +permission java.io.FilePermission "${catalina.home}${file.separator}xwikidata${file.separator}", "read,write,delete";
46 +permission java.io.FilePermission "${catalina.home}${file.separator}xwikidata${file.separator}-", "read,write,delete";
47 +//Allow file storage directory reading - temporary directory and everything underneath
48 +//This is dependent on the setting of environment.temporaryDirectory in xwiki.properties.
49 +permission java.io.FilePermission "${catalina.home}${file.separator}temp${file.separator}", "read,write,delete";
50 +permission java.io.FilePermission "${catalina.home}${file.separator}temp${file.separator}-", "read,write,delete";
42 42  };
43 43  {{/code}}
44 44  
... ... @@ -97,4 +97,3 @@
97 97  {{warning}}
98 98  If you're upgrading an existing wiki be careful that the XAR import operation will replace the content of the existing pages of your wiki with the content of the XAR (New pages that you have created will not be modified). As a consequence it's critical that you [[perform a backup>>platform:AdminGuide.Backup]] first and read the upgrade nodes bellow carefully.
99 99  {{/warning}}
100 -

Get Connected