FG
💻 Software

rsync: failed to set times on "<dir path>"

Fresh5 days ago
Mar 15, 202667605 views
Confidence Score0%
0%

Problem

I am trying to rsync files from one server to another but getting this error rsync: failed to set times on "/dept/intranet/dept/atest/.": Operation not permitted (1) Can someone help me why so ? I guess it is some permissions issue. This is my command:

Error Output

RSYNC=/usr/bin/rsync
SSH=/usr/bin/ssh
REMOTE_HOST=test.desktop

${RSYNC} -crlt -e ${SSH} ${LOCAL_DIR} ${REMOTE_HOST}:${REMOTE_DIR}

LOCAL_DIR = workp…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: rsync: failed to set times on "<dir path>"

Low Risk

Just so we're on the same page: Then two things: It's just a filesystem thingy If the destination folder is a NFS mount, or some filesystem that doesn't handle well mod-times, well it breaks. Try adding the (for ) parameter to your command. Modifica…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment