Unable to copy local files onto my root directory /user/sreejith


When i try to copy from local file system onto HDFS as mentioned in the video lecture, i get the below error, please help.

[sreejith@gw02 ~]$ hadoop fs -copyFromLocal /data/crime /user/sreejith.
copyFromLocal: Permission denied: user=sreejith, access=WRITE, inode="/user/sreejith.":hdfs:hdfs:drwxr-xr-x


remove .(dot) at the last of your command.

Try like below:
hadoop fs -copyFromLocal /data/crime /user/sreejith/


thank you, it is fine now