[ 
https://issues.apache.org/jira/browse/HDFS-8638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14592989#comment-14592989
 ] 

Allen Wittenauer commented on HDFS-8638:
----------------------------------------

Quota most definitely should have admin checks.  Allowing users to set this for 
themselves would be very very bad.  

> Move the quota commands out from dfsadmi.
> -----------------------------------------
>
>                 Key: HDFS-8638
>                 URL: https://issues.apache.org/jira/browse/HDFS-8638
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: HDFS
>    Affects Versions: 2.7.0
>            Reporter: surendra singh lilhore
>            Assignee: surendra singh lilhore
>
> Currently for setQuota() API in FSNamesystem we don't have any superuser 
> check.
> So with the reference of [HDFS-7323 | 
> https://issues.apache.org/jira/browse/HDFS-7323] we should move quota 
> commands from dfsadmin or if we want it in dfsadmin then we should add check 
> for superuser privileges. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to