Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 44247 invoked from network); 13 Jul 2007 07:32:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jul 2007 07:32:35 -0000 Received: (qmail 96916 invoked by uid 500); 13 Jul 2007 07:32:36 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 96873 invoked by uid 500); 13 Jul 2007 07:32:36 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 96862 invoked by uid 99); 13 Jul 2007 07:32:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2007 00:32:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2007 00:32:33 -0700 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 46CAE15E8003 for ; Fri, 13 Jul 2007 02:32:13 -0500 (CDT) Message-ID: <1193755.1184311933287.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Fri, 13 Jul 2007 02:32:13 -0500 (CDT) From: "Benjamin Bentmann (JIRA)" To: issues@maven.apache.org Subject: [jira] Issue Comment Edited: (WAGONSSH-42) Cannot deploy files over existing files if someone else originally uploaded them. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/WAGONSSH-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102133 ] Benjamin Bentmann edited comment on WAGONSSH-42 at 7/13/07 2:30 AM: -------------------------------------------------------------------- "umask 002" really works fine. Great thanks! One final note about the explicit chmod for the ScpWagon: If this gets implemented, chmod must not fail the deployment if the currently executing user is not the file owner. Either chmod is only issued for an initial deployment of the file or it silently fails if executed on behalf of a foreign user. Otherwise, we will run into the problem this issue for SftpWagon is already about. was: "umask 002" really works fine. Great thanks! One final note about the explicit chmod for the ScpWagon: If this gets implemented, chmod must not fail the deployment if the currently executing user is not the file owner. Either chmod is only issued for an initial deployment of the file or it silently fails if executed on behave of a foreign user. Otherwise, we will run into the problem this issue for SftpWagon is already about. > Cannot deploy files over existing files if someone else originally uploaded them. > --------------------------------------------------------------------------------- > > Key: WAGONSSH-42 > URL: http://jira.codehaus.org/browse/WAGONSSH-42 > Project: wagon-ssh > Issue Type: Bug > Affects Versions: 1.0-alpha-6 > Environment: Desktop OS is Windows XP. Deploying to Solaris server using Tectia SSH2 Client. > Reporter: Frank Russo > Priority: Critical > Attachments: File sharing issue with maven-deploy using wagon.txt > > > On first deploy, everything works fine. On next deploy, if a different developer runs the command, the attached error occurs(see attached the original email posted to the Maven Users Mailing List.) > The file is owned by the first developer, but has full rwx access (777). If developer 2 directly connects to the machine, they can do anything to the file, so it's not a Unix permissions issue... -- 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