[
http://jira.codehaus.org/browse/MSITE-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukas Theussl updated MSITE-330:
--------------------------------
Fix Version/s: (was: 2.1)
Command-line zip/unzip preserves permissions and remotely the command line
unzip is used. So the problem is really with wagon, the x bit gets lost when
zipping up the site. The rest is just a question of setting up the server and
umask settings.
> Wagon nukes the permission bits of uploaded files.
> --------------------------------------------------
>
> Key: MSITE-330
> URL: http://jira.codehaus.org/browse/MSITE-330
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: site:deploy
> Reporter: Henning Schmiedehausen
>
> Uploading a site using wagon might nuke permission bits of e.g. CGI scripts
> thus making these unavailable.
> For Apache webserver, a CGI script can have the permission bit set and is
> then executed. This is e.g. used for the "download.cgi" script on many Apache
> project sites.
> The wagon uploader (at least ssh and ssh-external) unconditionally change the
> permissions of all files to be 664. Which kills the execution bits. Which is
> bad (TM).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira