set permissions for application folder