am getting the following errot when i run hadoop namenode ~format in ubuntu. what could be the problem.
WARNING: Use of this script to execute namenode is deprecated.
WARNING: Attempting to execute replacement "hdfs namenode" instead.
WARNING: /home/hdoop/hadoop-3.2.0/logs does not exist. Creating.
mkdir: cannot create directory ‘/home/hdoop/hadoop-3.2.0/logs’: Permission denied
ERROR: Unable to create /home/hdoop/hadoop-3.2.0/logs. Aborting.