0

I'm trying to install hadoop for the first time and I'm following this tutorial http://www.youtube.com/watch?v=xrxQXfE7t9A & https://sites.google.com/site/howtohadoop/how-to-install-hdp#bmec2

What I'm trying to do is setting up the master node to access the other slave node. So, when it comes to set the permission for the /root/.ssh folder by "chmod 700 /root/.ssh" an error message is displayed that I do not have permission.

I couldn't understand why this message? Why I do not have permission?

any help?

Dhoha
  • 369
  • 3
  • 6
  • 17

1 Answers1

0

You don't have permission since you are not logged in as root and trying to play with the files owned by root.
Run sudo chmod 700 /root/.ssh . sudo makes you run commands as root on the system.

Chandra kant
  • 1,554
  • 1
  • 11
  • 14