This is especially useful for the concept of principal mapping within Knox.
A user that authenticates as "foo" may be mapped to a principal of "bar".
Consequently, a script that logs in then accesses files within their home
directory should be able to do so relative to their home directory.
Without supporting the notion of "~" the user must know what their mapped
to principal is and hardcode file access based on that value.
Which may also change out from under them - or be different across clusters.


On Mon, Sep 30, 2013 at 11:54 PM, Kevin Minder (JIRA) <j...@apache.org>wrote:

> Kevin Minder created HDFS-5282:
> ----------------------------------
>
>              Summary: Support built in resolution of /~ to user's home
> directory: /user/{user.name}
>                  Key: HDFS-5282
>                  URL: https://issues.apache.org/jira/browse/HDFS-5282
>              Project: Hadoop HDFS
>           Issue Type: Improvement
>             Reporter: Kevin Minder
>
>
> In many cases it would be very convenient for HDFS (and WebHDFS in
> particular) to support the Unix notion of /~ representing the user's home
> directory.  This would allow for some scripts reusable because they would
> not contain hard coded home directories.
>
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.1#6144)
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to