<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question User can still see / read on paths that it does not own in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-can-still-see-read-on-paths-that-it-does-not-own/m-p/116138#M46958</link>
    <description>&lt;P&gt;I have set a Ranger policy enabling a certain newuser to read/write/execute only on his own home directory in HDFS, say /user/&amp;lt;newuser&amp;gt;. While the policy certainly works on his own path, however, I do not want newuser to be able to read directories and files outside its own, which still happens when I do:&lt;/P&gt;&lt;PRE&gt;hadoop fs -ls /&lt;/PRE&gt;&lt;P&gt;Or on some other directories. Same thing happens when newuser is logged in in Hue.&lt;/P&gt;&lt;P&gt;How do I do this in Ranger?&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2016 18:27:43 GMT</pubDate>
    <dc:creator>menorah84</dc:creator>
    <dc:date>2016-11-22T18:27:43Z</dc:date>
    <item>
      <title>User can still see / read on paths that it does not own</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-can-still-see-read-on-paths-that-it-does-not-own/m-p/116138#M46958</link>
      <description>&lt;P&gt;I have set a Ranger policy enabling a certain newuser to read/write/execute only on his own home directory in HDFS, say /user/&amp;lt;newuser&amp;gt;. While the policy certainly works on his own path, however, I do not want newuser to be able to read directories and files outside its own, which still happens when I do:&lt;/P&gt;&lt;PRE&gt;hadoop fs -ls /&lt;/PRE&gt;&lt;P&gt;Or on some other directories. Same thing happens when newuser is logged in in Hue.&lt;/P&gt;&lt;P&gt;How do I do this in Ranger?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 18:27:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-can-still-see-read-on-paths-that-it-does-not-own/m-p/116138#M46958</guid>
      <dc:creator>menorah84</dc:creator>
      <dc:date>2016-11-22T18:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: User can still see / read on paths that it does not own</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-can-still-see-read-on-paths-that-it-does-not-own/m-p/116139#M46959</link>
      <description>&lt;P&gt;that is because HDFS posix permission is there on base dir , so make that is 000 &lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 18:29:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-can-still-see-read-on-paths-that-it-does-not-own/m-p/116139#M46959</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2016-11-22T18:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: User can still see / read on paths that it does not own</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-can-still-see-read-on-paths-that-it-does-not-own/m-p/116140#M46960</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1651/menorah84.html" nodeid="1651"&gt;@J. D. Bacolod&lt;/A&gt; - please see this article I wrote a while ago which explains how Ranger works: &lt;A href="https://community.hortonworks.com/content/kbentry/49177/how-do-ranger-policies-work-in-relation-to-hdfs-po.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/49177/how-do-ranger-policies-work-in-relation-to-hdfs-po.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From HDP 2.5, there is also the potential to Deny access explicitly via a Deny policy. See this article on how to enable them: &lt;A href="https://community.hortonworks.com/content/kbentry/61208/how-to-enable-deny-conditions-and-excludes-in-rang.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/61208/how-to-enable-deny-conditions-and-excludes-in-rang.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 18:32:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-can-still-see-read-on-paths-that-it-does-not-own/m-p/116140#M46960</guid>
      <dc:creator>agillan</dc:creator>
      <dc:date>2016-11-22T18:32:51Z</dc:date>
    </item>
  </channel>
</rss>

