<?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 Ambari users permissions file view in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226150#M63660</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So I log in to Ambari as admin, then I try to add a folder in files view: &lt;/P&gt;&lt;PRE&gt;Permission denied: user=admin, access=WRITE, inode="/ml-in-a-nutshell":hdfs:hdfs:drwxr-xr-x&lt;/PRE&gt;&lt;P&gt;I am accessing Ambari via Chrome under another user, 'ed'.&lt;/P&gt;&lt;P&gt;So should I be logging into Ambari as hdfs? Or maybe changing admin permissions?&lt;/P&gt;&lt;P&gt;But if I login as hdfs then will it see my existing cluster and what would be the passowrd?&lt;/P&gt;&lt;P&gt;This user thing is quite confusing.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2017 21:15:21 GMT</pubDate>
    <dc:creator>ed_day</dc:creator>
    <dc:date>2017-06-26T21:15:21Z</dc:date>
    <item>
      <title>Ambari users permissions file view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226150#M63660</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So I log in to Ambari as admin, then I try to add a folder in files view: &lt;/P&gt;&lt;PRE&gt;Permission denied: user=admin, access=WRITE, inode="/ml-in-a-nutshell":hdfs:hdfs:drwxr-xr-x&lt;/PRE&gt;&lt;P&gt;I am accessing Ambari via Chrome under another user, 'ed'.&lt;/P&gt;&lt;P&gt;So should I be logging into Ambari as hdfs? Or maybe changing admin permissions?&lt;/P&gt;&lt;P&gt;But if I login as hdfs then will it see my existing cluster and what would be the passowrd?&lt;/P&gt;&lt;P&gt;This user thing is quite confusing.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 21:15:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226150#M63660</guid>
      <dc:creator>ed_day</dc:creator>
      <dc:date>2017-06-26T21:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari users permissions file view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226151#M63661</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11394/edday.html" nodeid="11394"&gt;@ed day&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As we see that the write access is there only for the "hdfs" user on the directory "/ml-in-a-nutshell"&lt;/P&gt;&lt;P&gt;So if you want to write in that directory as "ed" user then the "ed" user should have &lt;STRONG&gt;write permission&lt;/STRONG&gt; on that mentioned HDFS directory.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:  &lt;/STRONG&gt; So try changing the permission as followong:&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# su - hdfs -c "hdfs dfs -chown ed:hadoop  /ml-in-a-nutshell&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Or else you will need to use the &lt;STRONG&gt;"hdfs dfs -chmod"&lt;/STRONG&gt;  command to allow write access to the "ed" user on the mentioned directory.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Similarly if you want the&lt;STRONG&gt; "admin"&lt;/STRONG&gt; user to be able to access to write in that directory then you will need to change th permissions of that HDFS directory as mentioned above.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 21:27:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226151#M63661</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-26T21:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari users permissions file view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226152#M63662</link>
      <description>&lt;P&gt;Thanks Jay, but I was trying to add the folder, not write into it. I was adding it to the root folder /.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 12:26:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226152#M63662</guid>
      <dc:creator>ed_day</dc:creator>
      <dc:date>2017-06-27T12:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari users permissions file view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226153#M63663</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11394/edday.html" nodeid="11394"&gt;@ed day&lt;/A&gt; &lt;/P&gt;&lt;P&gt;The HDFS root directory allows only the hdfs:hdfs  (username:groupname) user to write on "/"&lt;/P&gt;&lt;P&gt;Please check the permission to know who can write in the ROOT  (/) directory of hdfs file system.&lt;/P&gt;&lt;PRE&gt;#  su - hdfs -c "hdfs dfs -ls -d /"
drwxr-xr-x   - hdfs hdfs          0 2017-06-21 09:59 /&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;In order to create a directory "Write" permission is needed to the user.&lt;/P&gt;&lt;P&gt;So if you want to create the directory inside "/" then you should create the directory as hdfs user and then you can use&lt;STRONG&gt; chown and chmod commands&lt;/STRONG&gt; properly to give read/write/execute access on this directory to your desired users.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 12:35:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226153#M63663</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-27T12:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari users permissions file view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226154#M63664</link>
      <description>&lt;P&gt;I cretaed the folder under /user/admin for which I have permissions. Makes sense I suppose.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 12:40:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226154#M63664</guid>
      <dc:creator>ed_day</dc:creator>
      <dc:date>2017-06-27T12:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari users permissions file view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226155#M63665</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11394/edday.html" nodeid="11394"&gt;@ed day&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Good to see your resolved your query.&lt;/P&gt;&lt;P&gt;However your Exception that is mentioned in the query is different.   And your Accepted answer does not really answers query/exception that was asked.&lt;/P&gt;&lt;P&gt;Regarding admin user  directory "/user/admin"   please refer to the Hortonworks Documentation, Which will help other users to know why do we need to create "/user/admin" directory and assign permission to it as "admin:hadoop"&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.0/bk_ambari-views/content/ch_using_falcon_view.html"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.0/bk_ambari-views/content/ch_using_falcon_view.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 12:51:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226155#M63665</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-27T12:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari users permissions file view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226156#M63666</link>
      <description>&lt;P&gt;Yes fair enough. Your answer now accepted, thanks for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 20:06:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-users-permissions-file-view/m-p/226156#M63666</guid>
      <dc:creator>ed_day</dc:creator>
      <dc:date>2017-06-27T20:06:30Z</dc:date>
    </item>
  </channel>
</rss>

