When I attach the external hard drive, the folders have a lock icon on them and i am unable to delete them.
I tried to use sudo chown -R $USER:$USER $HOME
but to no avail, this did not work.
Please tell how to remove that icon and edit the read-only permission.