Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save pythoninthegrass/b57f1e52c2c3e0e7958a675079aed4d5 to your computer and use it in GitHub Desktop.

Select an option

Save pythoninthegrass/b57f1e52c2c3e0e7958a675079aed4d5 to your computer and use it in GitHub Desktop.

Fix resilio sync permissions on synology raid pool

  1. Group membership: rslsync wasn't in the users group. Added it by editing /etc/group directly (synogroup and usermod both failed on DSM):

    sudo sed -i 's/^users:x:100:$/users:x:100:rslsync/' /etc/group
    sudo synopkg restart resiliosync
  2. Synology ACLs: The + on directory permissions indicated ACLs were in effect, which overrode the permissive POSIX bits. The ACL only allowed guest and administrators. Added an explicit entry for rslsync:

    sudo synoacltool -add /volume1/shares user:rslsync:allow:rwxpdDaARWcCo:fd--
    sudo synoacltool -enforce-inherit /volume1/shares
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment