hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9019) sticky bit permission denied error not informative enough
Date Fri, 04 Sep 2015 18:26:45 GMT

     [ https://issues.apache.org/jira/browse/HDFS-9019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiaoyu Yao updated HDFS-9019:
-----------------------------
    Attachment: HDFS-9019.001.patch

Thanks [~szetszwo] for reviewing. Patch v001 addresses your comments with unit tests.  Sample
exception message from unit test output:
{code}
2015-09-04 11:16:49,111 [IPC Server handler 6 on 57099] INFO  ipc.Server (Server.java:run(2244))
- IPC Server handler 6 on 57099, call org.apache.hadoop.hdfs.protocol.ClientProtocol.delete
from 127.0.0.1:57122 Call#65 Retry#0: org.apache.hadoop.security.AccessControlException: Permission
denied by sticky bit: user=rose, path="/tennant/contemporary/foo":theDoctor:supergroup:-rw-r--r--,
parent="/tennant/contemporary":xyao:supergroup:drwxrwxrwt
{code}

> sticky bit permission denied error not informative enough
> ---------------------------------------------------------
>
>                 Key: HDFS-9019
>                 URL: https://issues.apache.org/jira/browse/HDFS-9019
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.6.0, 2.7.0, 2.7.1
>            Reporter: Thejas M Nair
>            Assignee: Xiaoyu Yao
>              Labels: easyfix, newbie
>         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)

Mime
View raw message