There is no plug ins in WordPress to bulk fix your permissions. That is why this little script was made. The trick is you have to run it from the root of the server which in most cases your hosting company has to do.
It’s really easy to run and 100% safe.
Here is how:
1. Download the script anywhere on the server
2. Run the script from the same folder it’s downloaded
This will fix one account
sh ./fixperms.sh -a username
This will fix all accounts
sh ./fixperms.sh -all
That’s it, enjoy!