Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D16E3200B95 for ; Mon, 12 Sep 2016 22:19:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CFF87160AB2; Mon, 12 Sep 2016 20:19:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 50756160AD6 for ; Mon, 12 Sep 2016 22:19:22 +0200 (CEST) Received: (qmail 37250 invoked by uid 500); 12 Sep 2016 20:19:21 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 36883 invoked by uid 99); 12 Sep 2016 20:19:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2016 20:19:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B479B2C014D for ; Mon, 12 Sep 2016 20:19:20 +0000 (UTC) Date: Mon, 12 Sep 2016 20:19:20 +0000 (UTC) From: "Zhe Zhang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9019) Adding informative message to sticky bit permission denied exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Sep 2016 20:19:23 -0000 [ https://issues.apache.org/jira/browse/HDFS-9019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15485171#comment-15485171 ] Zhe Zhang commented on HDFS-9019: --------------------------------- Thanks for the work [~xyao]. Since affect version includes 2.7 (and I think this is a valid improvement for 2.7), I just did the backport. > Adding informative message to sticky bit permission denied exception > -------------------------------------------------------------------- > > Key: HDFS-9019 > URL: https://issues.apache.org/jira/browse/HDFS-9019 > Project: Hadoop HDFS > Issue Type: Improvement > Components: security > Affects Versions: 2.6.0, 2.7.0, 2.7.1 > Reporter: Thejas M Nair > Assignee: Xiaoyu Yao > Priority: Minor > Labels: easyfix, newbie > Fix For: 2.8.0, 2.7.4, 3.0.0-alpha1 > > Attachments: HDFS-9019.000.patch, HDFS-9019.001.patch > > > The check for sticky bit permission in FSPermissionChecker.java prints only the child file name and the current owner. > It does not print the owner of the file and the parent directory. It would help to have that printed as well for ease of debugging permission issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org