From dev-return-27281-apmail-mina-dev-archive=mina.apache.org@mina.apache.org Fri Oct 17 13:32:34 2014 Return-Path: X-Original-To: apmail-mina-dev-archive@www.apache.org Delivered-To: apmail-mina-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E5A417AD5 for ; Fri, 17 Oct 2014 13:32:34 +0000 (UTC) Received: (qmail 26992 invoked by uid 500); 17 Oct 2014 13:32:34 -0000 Delivered-To: apmail-mina-dev-archive@mina.apache.org Received: (qmail 26950 invoked by uid 500); 17 Oct 2014 13:32:34 -0000 Mailing-List: contact dev-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mina.apache.org Delivered-To: mailing list dev@mina.apache.org Received: (qmail 26933 invoked by uid 99); 17 Oct 2014 13:32:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Oct 2014 13:32:34 +0000 Date: Fri, 17 Oct 2014 13:32:33 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: dev@mina.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SSHD-355) Correctly handle permissions when opening files through SFTP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SSHD-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Nodet updated SSHD-355: --------------------------------- Summary: Correctly handle permissions when opening files through SFTP (was: sftp: content of file deleted if trying to write without permission) > Correctly handle permissions when opening files through SFTP > ------------------------------------------------------------ > > Key: SSHD-355 > URL: https://issues.apache.org/jira/browse/SSHD-355 > Project: MINA SSHD > Issue Type: Bug > Affects Versions: 0.11.0 > Reporter: Stefan Mueller > Priority: Critical > Labels: sftp > > If a user wants to write over an existing file, the content is deleted before permission check. Probably the file is truncated to 0 to early. > Thread were it is discuessed: > http://apache-mina.10907.n7.nabble.com/SSHD-Problems-with-SFTP-td42625.html -- This message was sent by Atlassian JIRA (v6.3.4#6332)