Attempted to fix by setting umask.