<
From version < 4.1 >
edited by Vincent Massol
on 2012/01/29
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.VincentMassol
1 +XWiki.CalebJamesDeLisle
Content
... ... @@ -7,6 +7,8 @@
7 7  * Install and configure a Servlet Container
8 8  * Install and configure a relational database
9 9  
10 +but first, you'll need to [[download>>enterprise:Main.Download]] the .war version of XWiki.
11 +
10 10  = Install and configure a Servlet Container =
11 11  
12 12  XWiki will work with any Servlet Container (provided it's properly configured obviously). We're only listing instructions for a few containers but you can adapt these instructions for your favorite container.
... ... @@ -37,6 +37,15 @@
37 37   permission java.net.SocketPermission "127.0.0.1:3306", "connect,resolve";
38 38  // Needed by the scheduler plugin -> quartz, but works without (maybe except scheduling? should be checked)
39 39  // 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";
40 40  };
41 41  {{/code}}
42 42  
... ... @@ -95,4 +95,3 @@
95 95  {{warning}}
96 96  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.
97 97  {{/warning}}
98 -

Get Connected