Reply
Explorer
Posts: 20
Registered: ‎06-26-2017

permission denied error while trying to place files in dir

Hi

 

not able to load the files to /oradata3 dir as i am getting permission denied error.

 

i logged into user  "hdpuser" trying to to place files in /oradata3 dir  and hdpuser  is part of hdpadmin(normal group, just name) and blrgroup.

 

/oradata3 dir is owned by blruser and blrgroup, i gave permission 775 to this dir and now everyone can load the data right users who are part of blrgroup ?.

 

please fine the attached one for more clear.

 

permission.PNG

 

Highlighted
Master
Posts: 430
Registered: ‎07-01-2015

Re: permission denied error while trying to place files in dir

Are the same permissions on the namenode as well? Your print screen is on the edge node, make sure your user is a member of blgroup on NN as well.
Explorer
Posts: 20
Registered: ‎06-26-2017

Re: permission denied error while trying to place files in dir

Hi Tomas,

 

Thank you for reply!

 

Yes, NN and EDGE node has the blrgroup with same GID and same permissions.

 

here the screenshotsnn1.PNGedge.PNG

Explorer
Posts: 20
Registered: ‎06-26-2017

Re: permission denied error while trying to place files in dir

Hi Tomas,

 

Yes, i verifed user(hdpuser) groups and i didn't see the blrgroup on NN for hdpuser, this was the missing now i added to blrgroup same as edge node using usermod command and its working fine.

 

Thanks Again for your kind support.