rsync copy permission denied
I am rsyncing a user's home dir across the NFS and the local PC, but when it tries to copy over the hidden files it fails with permission denied. Both dir are owned by the proper user and I am root when I execute the script, so I am not sure what went wrong here.
For example: this is the content and permissions of the source:
-rw------- 1 user test 115 Nov 14 11:28 .bash_history
and here is my error:
rsync: send_files failed to open "/home/user/.bash_history": Permission denied (13)