This works for me.

sudo chmod -R a+rwx /appfolder