We have our automated build releasing scripts made long back in last year and they were working fine but few days back we started to get these errors -
rsync: change_dir#3 "/home/frs/project/pbrp/RMX2001" failed: Permission denied (13)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(726) [Receiver=3.1.4dev]
As you can see in files, RMX2001
directory is present but the command is throwing us the error as permission denied.
The script and the line where it's causing issue can be found here: https://github.com/PitchBlackRecoveryProject/vendor_utils/blob/pb/pb_deploy.sh#L189