Ubuntu: Permission denied copying files from an old HDD drive



Question:

I think this might be because I am not the owner. I have opened the folder as administrator and can view all the files but can't copy them because of the permissions. The old HDD is in a caddy connected by USB. I think I might have to recursively change owner of all sub folders in terminal?


Solution:1

I worked it out.

sudo chown [new-owner] -R [folder]  

-R does it recursively to all subfolders. Phew!


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »