<?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 Re: Permission denied: user=admin, access=WRITE, inode=&amp;quot;/user&amp;quot;:hdfs:hdfs:drwxr-xr-x in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Permission-denied-user-admin-access-WRITE-inode-quot-user/m-p/243826#M205624</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/110211/ingqind.html" nodeid="110211"&gt;@Angel  Ajcabul&lt;/A&gt;&lt;P&gt;Using SH or shell-in-a-box (http://sandbox-hdp.hortonworks.com:4200), issue the following commands:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;su - hdfs -c "hdfs dfs -mkdir /user/newFolder"&lt;BR /&gt;su - hdfs -c "hdfs dfs -chown admin:hdfs /user/newFolder" &lt;/PRE&gt;</description>
    <pubDate>Wed, 13 Feb 2019 06:40:29 GMT</pubDate>
    <dc:creator>gdeleon</dc:creator>
    <dc:date>2019-02-13T06:40:29Z</dc:date>
    <item>
      <title>Permission denied: user=admin, access=WRITE, inode="/user":hdfs:hdfs:drwxr-xr-x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Permission-denied-user-admin-access-WRITE-inode-quot-user/m-p/243825#M205623</link>
      <description>&lt;P&gt;I tried to create a folder using the admin user, at the time of creating it I get the following error:
       Permission denied: user = admin, access = WRITE, inode = "/ user": hdfs: hdfs: drwxr-xr-x
When checking the permissions in Ambari&amp;gt; Users&amp;gt; admin, it tells me that I have all the permissions activated.
How can i solve this problem?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 09:44:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Permission-denied-user-admin-access-WRITE-inode-quot-user/m-p/243825#M205623</guid>
      <dc:creator>ing_qind</dc:creator>
      <dc:date>2019-02-11T09:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Permission denied: user=admin, access=WRITE, inode="/user":hdfs:hdfs:drwxr-xr-x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Permission-denied-user-admin-access-WRITE-inode-quot-user/m-p/243826#M205624</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/110211/ingqind.html" nodeid="110211"&gt;@Angel  Ajcabul&lt;/A&gt;&lt;P&gt;Using SH or shell-in-a-box (http://sandbox-hdp.hortonworks.com:4200), issue the following commands:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;su - hdfs -c "hdfs dfs -mkdir /user/newFolder"&lt;BR /&gt;su - hdfs -c "hdfs dfs -chown admin:hdfs /user/newFolder" &lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Feb 2019 06:40:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Permission-denied-user-admin-access-WRITE-inode-quot-user/m-p/243826#M205624</guid>
      <dc:creator>gdeleon</dc:creator>
      <dc:date>2019-02-13T06:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Permission denied: user=admin, access=WRITE, inode="/user":hdfs:hdfs:drwxr-xr-x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Permission-denied-user-admin-access-WRITE-inode-quot-user/m-p/296844#M218453</link>
      <description>&lt;P&gt;when I try 'chown' command, it shows: authentication failure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please help me through it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 03:11:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Permission-denied-user-admin-access-WRITE-inode-quot-user/m-p/296844#M218453</guid>
      <dc:creator>Karan1211</dc:creator>
      <dc:date>2020-05-29T03:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Permission denied: user=admin, access=WRITE, inode="/user":hdfs:hdfs:drwxr-xr-x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Permission-denied-user-admin-access-WRITE-inode-quot-user/m-p/296847#M218455</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78440"&gt;@Karan1211&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;User '&lt;SPAN&gt;admin'&lt;/SPAN&gt;&amp;nbsp;does not have access to create a directory under /user. Because t&lt;SPAN&gt;he /user/ directory is owned by "hdfs" with 755 permissions. As a result, only hdfs can write to that directory. So you would need to do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to create a home directory for root so you can store files in this directory, do:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;sudo -u hdfs hdfs dfs -mkdir /user/admin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo -u hdfs hdfs dfs -chown admin /user/admin&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Then as admin you can do hdfs dfs -put file /user/admin/&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;NOTE: If you get below authentication error, either from your user account, you do not have enough permission to run the above command, so try with sudo or try with first sudo to hdfs user and then execute chown command as hdfs user.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;su: authentication failure&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 04:07:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Permission-denied-user-admin-access-WRITE-inode-quot-user/m-p/296847#M218455</guid>
      <dc:creator>jagadeesan</dc:creator>
      <dc:date>2020-05-29T04:07:46Z</dc:date>
    </item>
  </channel>
</rss>

