When i type hadoop namenode ~format
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.