systemd / casync

Content-Addressable Data Synchronization Tool
1.51k stars 117 forks source link

AT_SYMLINK_NOFOLLOW in fchmodat() is not supported. #139

Closed lducazu closed 6 years ago

lducazu commented 6 years ago

This addresses issue #88 (https://github.com/systemd/casync/issues/88) "extracting char devices: Failed to run synchronizer: Operation not supported".

When extracting character or block devices, fchmodat() is called with flag AT_SYMLINK_NOFOLLOW. According to the documentation (man page), this is not supported and hence returns ENOTSUP. The only supported flag is 0.