due to speed issues i changed my os to ssd and put my HDD through the slot of CD player by using Caddy, now the directory of HDD is /media but can't paste or delete anything on it i used
sudo chown -R username:username /media/username/nameofdrive and
sudo chmod 777 nameofdrive
and the ls -l displays all
drwxrwxrwx and the directory property shows all permission but still
the folder shows lock icon and does't allow any write operations
is there any solution?