💻 Software
How do I sync file permissions (chmod +x) with rsync?
Fresh5 days ago
Mar 15, 20262315 viewsConfidence Score0%
0%
Problem
I'm having problems synchronising file permissions with rsync. I'm trying to sync my /home/bin folder with the /home/bin folder on a remote machine. The problem is that when I write a new script and make it executable with 'chmod +x' then after performing rsync, the file reverts back to being unexe…
Error Output
#!/bin/bash rsync -e ssh -avz --recursive --progress --update --perms /home/bin…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How do I sync file permissions (chmod +x) with rsync?
Low Risk
I think your basic problem here is that is not a good tool for two-way synchronization. I would recommend some solution conceptually different, otherwise you will keep clobbering yourself. You could look into using . It functions similar to but is d…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix