-
Bug
-
Resolution: Fixed
-
Medium
-
2.5.4, 3.1, 3.2, 3.4.3, 3.5.4, 5.9.7, 6.2.1, 6.6.5, 6.8.2
-
38
-
Severity 2 - Major
-
16
-
Confluence cannot resolve the file path of the 'temp' directory in the home folder properly if it is modified in the confluence.cfg.xml.
This leads to a 403 - Forbidden - page in Confluence when attempting a PDF Export.
E.g. Default value:
<property name="webwork.multipart.saveDir">${confluenceHome}/temp</property>
Changed value:
<property name="webwork.multipart.saveDir">/home/foo/confluence-temp/test</property>
The result is this URL and 403 page shown:
http://localhost:8080/download//home/foo/confluence-temp/test/export_06192007_133711/ds-32787-20070619-13_37_11.pdf
Checking the proper path with HttpLiveHeaders, the correct path should be something like this:
http://localhost:8080/download/temp/export_06192007_133711/ds-32787-20070619-13_37_11.pdf
Confluence should be able to update the path with this change. Consequently, it can be fixed by reverting the above webwork.multipart.saveDir back to ${confluenceHome}/temp.
This issue can be reproduced by using the symbolic link as well.
Workaround solution:
On Linux, you can use the file system bind via "fstab" to bind the temp folder with another temp folder from another file system.
[CONFSERVER-8730] PDF, Word and XML exports fail with absolute temp directory path in confluence.cfg.xml
Status | Original: Closed [ 6 ] | New: Closed [ 6 ] |
Remote Link | New: This issue links to "Page (Extranet)" [ 658252 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
UIS | Original: 15 | New: 16 |
Fix Version/s | Original: 7.20.0 [ 101390 ] | |
Fix Version/s | New: 7.18.2 [ 101802 ] | |
Fix Version/s | New: 7.17.5 [ 101801 ] | |
Fix Version/s | New: 7.19.0 [ 101690 ] |
Remote Link |
New:
This issue links to "R7.17 P2. Blockers › Tier 2 Plugins against Confluence latest - Phoenix › issue-717- |
Remote Link |
New:
This issue links to "R7.17 P1. Baseline › Unit, Integration, CTK Tests › issue-717- |
Remote Link |
New:
This issue links to "R7.17 P1. Baseline › Data Center Tests, Postgres 14.x, Tomcat 9, Java 11 › issue-717- |
Remote Link |
New:
This issue links to "R7.17 P1. Baseline › Spring-wired Integration Tests › issue-717- |
Remote Link |
New:
This issue links to "R7.17 P1. Performance › Page Weight Ratchet Build › issue-717- |