Timeline for Error 44 trying to rsync over ssh on Synology DSM
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 12 at 14:17 | comment | added | zephod | Ok. Enabling the admin account did get rid of the error 44. There are still issues with doing rsync over ssh though. | |
| Sep 12 at 14:15 | vote | accept | zephod | ||
| Sep 10 at 12:28 | comment | added | Admineral | Since the setuid bit is set, the use of sudo should not be relevant; the binary will be executed with the owner's permissions (here, this is root), not the user's. Obviously, there is something misunderstood or missing here. If the original question of this post has been solved, you can mark it as accepted and open a new one. | |
| Sep 9 at 16:42 | comment | added | zephod | The two rsync files do indeed have the same inode number. There are also two ssh binaries and they also share an inode number. | |
| Sep 9 at 16:40 | comment | added | zephod | I've been trying a couple of things and so far no luck. When I enabled the admin account the error 44 went away but then I started getting error 52 - rsync service disabled even though the rsync service and account were enabled. The I tried adding the admin user to the list of rsync users but that had no effect. Then I changed from using sudo /bin/rsync to just /bin/rsync and that got rid of the error 52 but of course now I get error 13 on files I don't own which was the whole point of running rsync sudo. Aargh! | |
| Sep 5 at 20:04 | comment | added | Admineral | I'm surprised. They might be identical copies or they might be hard-linked. Try running stat on them; if the inode numbers match, they are hard links. Also, I realized that Synology let the setuid bit on rsync. Why not, but keep in mind this is a security flaw and can expose your system. | |
| Sep 5 at 18:58 | comment | added | zephod | Regarding the rsync binaries, neither one looks like a symbolic link. They look identical: steve@NAS:/volume1/docker/backuppc-mdns$ ls -l /bin/rsync /usr/bin/rsync -rwsr-xr-x 1 root root 650064 Dec 2 2022 /bin/rsync -rwsr-xr-x 1 root root 650064 Dec 2 2022 /usr/bin/rsync steve@NAS:/volume1/docker/backuppc-mdns$ md5sum /bin/rsync /usr/bin/rsync 76376652412cc305f91049436e09d986 /bin/rsync 76376652412cc305f91049436e09d986 /usr/bin/rsync | |
| Sep 5 at 16:35 | comment | added | zephod | OK, I've enabled the admin account. We'll see what happens tonight. | |
| Sep 5 at 14:55 | history | answered | Admineral | CC BY-SA 4.0 |