Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44AD9102DA for ; Tue, 20 Aug 2013 21:37:53 +0000 (UTC) Received: (qmail 47374 invoked by uid 500); 20 Aug 2013 21:37:52 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 47159 invoked by uid 500); 20 Aug 2013 21:37:51 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 47014 invoked by uid 99); 20 Aug 2013 21:37:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2013 21:37:51 +0000 Date: Tue, 20 Aug 2013 21:37:51 +0000 (UTC) From: "Ryan Hennig (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-5117) Allow the owner of an HDFS path to be a group MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ryan Hennig created HDFS-5117: --------------------------------- Summary: Allow the owner of an HDFS path to be a group Key: HDFS-5117 URL: https://issues.apache.org/jira/browse/HDFS-5117 Project: Hadoop HDFS Issue Type: New Feature Components: hdfs-client Reporter: Ryan Hennig At eBay, we have the need to associate some HDFS paths with a set of users with write access, a set of users with read-only access, and neither read or write to others. The current model of POSIX-style permissions is nearly sufficient for this, except for the need of multiple writers. One easy fix would be to allow the owner of a path to be a group, and then grant owner permissions to all members of that group. I have verified that HDP 1.3 allows you to set the owner of a path to a group without error, but the owner permissions of that group are not given to members of the group. I've created a relatively simple fix for this by modifying the "check" method in src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSPermissionChecker.java and I am working on related changes to unit tests etc now. - Ryan -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira