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 E9C91200CB5 for ; Wed, 12 Jul 2017 12:48:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E85921661C0; Wed, 12 Jul 2017 10:48:49 +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 3948C1661A5 for ; Wed, 12 Jul 2017 12:48:49 +0200 (CEST) Received: (qmail 39701 invoked by uid 500); 12 Jul 2017 10:48:46 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 39690 invoked by uid 99); 12 Jul 2017 10:48:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2017 10:48:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 854AD196242 for ; Wed, 12 Jul 2017 10:48:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Xo01ezm5QVhY for ; Wed, 12 Jul 2017 10:48:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 60933628DE for ; Wed, 12 Jul 2017 10:10:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A2F39E0D89 for ; Wed, 12 Jul 2017 10:10:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 119F7246FE for ; Wed, 12 Jul 2017 10:10:01 +0000 (UTC) Date: Wed, 12 Jul 2017 10:10:01 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-14581) Restrict setOwner to list of user when security is enabled in wasb MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 12 Jul 2017 10:48:50 -0000 [ https://issues.apache.org/jira/browse/HADOOP-14581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083750#comment-16083750 ] Steve Loughran commented on HADOOP-14581: ----------------------------------------- (Had to add a second patch to get branch-2 to compile; java 7 doesn't like us using non-final variables in inner classes/closures. My fault for not testing the branch-2 build before committing it) > Restrict setOwner to list of user when security is enabled in wasb > ------------------------------------------------------------------ > > Key: HADOOP-14581 > URL: https://issues.apache.org/jira/browse/HADOOP-14581 > Project: Hadoop Common > Issue Type: Bug > Components: fs/azure > Affects Versions: 3.0.0-alpha3 > Reporter: Varada Hemeswari > Assignee: Varada Hemeswari > Labels: azure, fs, secure, wasb > Fix For: 2.9.0, 3.0.0-beta1 > > Attachments: HADOOP-14581-003.patch, HADOOP-14581.1.patch, HADOOP-14581.2.patch, HADOOP-14581.4.patch > > > Currently in azure FS, setOwner api is exposed to all the users accessing the file system. > When Authorization is enabled, access to some files/folders is given to particular users based on whether the user is the owner of the file. > So setOwner has to be restricted to limited set of users to prevent users from exploiting owner based authorization of files and folders. > Introducing a new config called fs.azure.chown.allowed.userlist which is a comma seperated list of users who are allowed to perform chown operation when authorization is enabled. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org