Unable to acces folders

I’ve been having the same issues, but after looking at another thread, I was able to change the permissions using Samba and Putty. My only problem now is using the instructions in the other thread, whichI’ll post at the end, I can only change permissions to one folder at a time. Any body know the command to make changes to all folders and subfolders at once? 

http://community.wd.com/t5/WD-My-Cloud/Folder-permissions/td-p/654911