Welcome to my chown blues.
I decided to do a full back up of my hardy box onto media. All well and good. I then install hardy on my laptop. All well and good. I copy the files from the removable media onto the laptop hard drive. All well and good.
Obviously the permissions need to be sorted out, so for every folder that I copied over, once on my laptop I ran
sudo chown -R larryfroot:larryfroot foldername.
As all this was happening from my home directory there was no need for paths in the command. which I could trust to work recursively within each folder freeing them for yours truly to write to, move, edit as needed. The files within the folders were chowned to larryfroot as were the folders. HOWEVER The folders were set to access files and that was it. So they are pretty immobile, just sitting there in a Stalinistic manner. I have gone into their permissions tab on a right click and tried to set read and write but the folders are having none of it. They just sit their proudly showing me their little padlocks. Also the files inside them were only read-only. That can be changed through going through the lot of them, right clicking and going into the permissions tab to change read only to read and write.
I can only delete folders with a (very careful) sudo rm -rv which isn't much fun. I like to play safe and stick 'em in the trash for a while before nuking them.
So which part of sudo chown -R larryfroot:larryfroot /path/to/folder do I have to ammend in order to chown the permissions on all folders in the folder referenced to jettison those padlocks and return full ownership to larryfroot, and how do I set up the command so the permissions for the files within those folders go to read and write, not just read only?
BTW I have man chown'd in the terminal and tried to understand the information. But obviously its in the nature of a man entry to be as concise as possible, which left me a bit behind, to be honest.
I would really appreciate help on this one as I need to restructure my folder hierarchy and would like to assume all my files have the same permissions set as per my desktop box. Also I am as curious as an interested cat as to how its done proper! Thanks!
Many a mickle muches a markle