I have moved contents of another drive into my home directory, but the permissions are not what they should be. First, I changed ownership by entering:
~$ sudo chown -R USERME /home/USERHOME/
Which I think works now.
But now, I wanted to simply change all of the files and sub-directories into the default permissions, with files being read+write, and directories being r+w+x. I have not found a recursive way of handling this. I have run:
~$ sudo chmod 755 -R /home/USERHOME/
To make everything available to me. However, files appear as executables, and this is not what I want. There are plenty more sub-directories and files so I am looking for a simple recursive solution.
Basically, I think I am looking for a recursive way to reapply the default umask parameter to a whole folder with (I think) chmod.
Update:
I have posted a solution thanks to @SkyDan and "changing chmod for files but not directories"
chmod
, you now own the files.