You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jun Futagawa (JIRA)" <ji...@codehaus.org> on 2006/05/05 18:33:41 UTC

[jira] Created: (WAGONSSH-47) Add support for uploading file with server-side umask setting

Add support for uploading file with server-side umask setting
-------------------------------------------------------------

         Key: WAGONSSH-47
         URL: http://jira.codehaus.org/browse/WAGONSSH-47
     Project: wagon-ssh
        Type: Improvement

    Versions: 1.0-alpha-7    
    Reporter: Jun Futagawa
 Attachments: ScpWagon-server_side_umask.patch

Here's a patch for wagon-ssh that uploads a file according to a set value of umask on the server side.

In our project, the project member uploads the file to the directory that directory mode is 2775. And, umask 002 is set to all the user accounts. However, wagon-ssh always up-loads the file by 644 permission when there is no filePermissions setting in the Maven's setting.xml file.

-- 
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


[jira] Closed: (WAGON-176) Add support for uploading file with server-side umask setting

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed WAGON-176.
------------------------------

         Assignee: Brett Porter
       Resolution: Duplicate
    Fix Version/s:     (was: 1.x)

an alternate solution was put in place in WAGON-173

> Add support for uploading file with server-side umask setting
> -------------------------------------------------------------
>
>                 Key: WAGON-176
>                 URL: http://jira.codehaus.org/browse/WAGON-176
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: wagon-ssh
>            Reporter: Jun Futagawa
>            Assignee: Brett Porter
>         Attachments: ScpWagon-server_side_umask.patch
>
>
> Here's a patch for wagon-ssh that uploads a file according to a set value of umask on the server side.
> In our project, the project member uploads the file to the directory that directory mode is 2775. And, umask 002 is set to all the user accounts. However, wagon-ssh always up-loads the file by 644 permission when there is no filePermissions setting in the Maven's setting.xml file.

-- 
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

        

[jira] Updated: (WAGON-176) Add support for uploading file with server-side umask setting

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated WAGON-176:
-------------------------------

    Fix Version/s:     (was: 1.0-beta-3)
                   1.x

could you adapt your patch so that it's only triggered based on a configuration option?

Maybe <filePermissions>umask</filePermissions>?

In addition, I think you can reuse the executeCommand function for much of this

> Add support for uploading file with server-side umask setting
> -------------------------------------------------------------
>
>                 Key: WAGON-176
>                 URL: http://jira.codehaus.org/browse/WAGON-176
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: wagon-ssh
>            Reporter: Jun Futagawa
>             Fix For: 1.x
>
>         Attachments: ScpWagon-server_side_umask.patch
>
>
> Here's a patch for wagon-ssh that uploads a file according to a set value of umask on the server side.
> In our project, the project member uploads the file to the directory that directory mode is 2775. And, umask 002 is set to all the user accounts. However, wagon-ssh always up-loads the file by 644 permission when there is no filePermissions setting in the Maven's setting.xml file.

-- 
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

        

[jira] Updated: (WAGON-176) Add support for uploading file with server-side umask setting

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated WAGON-176:
-------------------------------

    Fix Version/s: 1.0-beta-3

> Add support for uploading file with server-side umask setting
> -------------------------------------------------------------
>
>                 Key: WAGON-176
>                 URL: http://jira.codehaus.org/browse/WAGON-176
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: wagon-ssh
>            Reporter: Jun Futagawa
>             Fix For: 1.0-beta-3
>
>         Attachments: ScpWagon-server_side_umask.patch
>
>
> Here's a patch for wagon-ssh that uploads a file according to a set value of umask on the server side.
> In our project, the project member uploads the file to the directory that directory mode is 2775. And, umask 002 is set to all the user accounts. However, wagon-ssh always up-loads the file by 644 permission when there is no filePermissions setting in the Maven's setting.xml file.

-- 
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

        

[jira] Moved: (WAGON-176) Add support for uploading file with server-side umask setting

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved WAGONSSH-47 to WAGON-176:
--------------------------------------------

    Affects Version/s:     (was: 1.0-alpha-7)
          Component/s:     (was: wagon-ssh)
                       wagon-ssh
                  Key: WAGON-176  (was: WAGONSSH-47)
              Project: Maven Wagon  (was: wagon-ssh)

> Add support for uploading file with server-side umask setting
> -------------------------------------------------------------
>
>                 Key: WAGON-176
>                 URL: http://jira.codehaus.org/browse/WAGON-176
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: wagon-ssh
>            Reporter: Jun Futagawa
>         Attachments: ScpWagon-server_side_umask.patch
>
>
> Here's a patch for wagon-ssh that uploads a file according to a set value of umask on the server side.
> In our project, the project member uploads the file to the directory that directory mode is 2775. And, umask 002 is set to all the user accounts. However, wagon-ssh always up-loads the file by 644 permission when there is no filePermissions setting in the Maven's setting.xml file.

-- 
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