This merge updates how ownership and permissions are changed in the deployment scripts. #80 didn't quite get things right because there are other parts to the st_mode flag besides owner, group and user permissions, so that flag needs to be masked only to the parts relevant to file permissions to see if the permissions are already correct.
By checking if permissions are already correct, hours of time needlessly updating permissions should be saved in the future. Compy is the machine where this is the biggest problem. With these changes, modifying permissions should happen in 2 hours instead of 16 or more.
This merge updates how ownership and permissions are changed in the deployment scripts. #80 didn't quite get things right because there are other parts to the
st_mode
flag besides owner, group and user permissions, so that flag needs to be masked only to the parts relevant to file permissions to see if the permissions are already correct.By checking if permissions are already correct, hours of time needlessly updating permissions should be saved in the future. Compy is the machine where this is the biggest problem. With these changes, modifying permissions should happen in 2 hours instead of 16 or more.