hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinayakumar B <vinayakum...@apache.org>
Subject Clarification related to ACL with setPermission
Date Tue, 11 Nov 2014 18:28:30 GMT
Hi,

Here is the scenario.

1. owner : *user1, *ownerGroup: *group1*
*2. /dir *have permissions set 700 (rwx------) using setPermission().
3. Now another Named group ACL has been set to allow access to another group
     group:*group2:r-x*
4. Now, when */dir is *accessed from a user belongs to *group2, *Its
success.

5. But, the steps #2 and #3 are inter-changed, i.e. setPermission (700)
later, then dir is not given access for a user belongs to *group2.*

This is same as linux behaviour. But ideally, access should be given,
regardless of the order of setting acl and setting permission.

Any thoughts on this?

Regards,
Vinay

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message