Fixing File Permissions Issues
If a designer encounters permissions issues when trying to upload or deploy to a sandbox, run these commands to adjust permissions:
ssh ist-wp-app-dv01.bu.edu
cd /usr/local/wp-scripts
sudo ./reset-sandbox-perms.sh sandbox-to-reset webteam
Where you replace the word sandbox-to-reset with id-presents or responsi , etc.
Please note the second parameter webteam , which is the owner to be assigned to files.