You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2007/04/13 18:35:46 UTC

[jira] Commented: (WAGON-71) Wagon nukes the permission bits of uploaded files.

    [ http://jira.codehaus.org/browse/WAGON-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92868 ] 

Carlos Sanchez commented on WAGON-71:
-------------------------------------

without patches it could be sitting here for long time until somebody volunteers

> Wagon nukes the permission bits of uploaded files.
> --------------------------------------------------
>
>                 Key: WAGON-71
>                 URL: http://jira.codehaus.org/browse/WAGON-71
>             Project: wagon
>          Issue Type: Bug
>            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