Out of sync: chmod not permitted

I’m syncing machines linux and ftp-sg.

On ftp-sg, I get out of sync items with messages such as:

hbs-cam-2	syncing: handling dir (setting permissions): chmod /home/virtual/hbs-cam-2: operation not permitted

These messages persist, even after I made sure that the permissions are identical on both machines:

  • Machine ftp-sg:

    [felix@ftp-sg virtual]$ ls -l /home/virtual/
    total 12
    drwxrwx--- 2 ftp ftp 4096 Feb  6 11:13 hbs-cam-2
    drwxrwx--- 2 ftp ftp 4096 Feb  6 11:12 hbs-cam-3
    drwxrwx--- 3 ftp ftp 4096 Feb  6 11:12 images
    
  • Machine linux:

    [felix@linux virtual]$ ls -l /home/felix/Syncthing/ftp-sg/virtual/
    total 12
    drwxrwx--- 2 felix felix 4096 Feb  6 05:13 hbs-cam-2
    drwxrwx--- 2 felix felix 4096 Feb  6 05:12 hbs-cam-3
    drwxrwx--- 3 felix felix 4096 Feb  6 05:12 images
    

Furthermore, on ftp-sg, Syncthing is running as user felix, which is part of the group ftp. Therefore, it should have the permission to change the permissions of /home/virtual/hbs-cam-2:

[felix@ftp-sg virtual]$ groups
felix sudo backup users ftp
[felix@ftp-sg virtual]$ ls -ld /home/virtual/
drwxrwxr-x 6 ftp ftp 4096 Feb  6 10:17 /home/virtual/

What am I missing?

ftp-sg is on version 2.0.14 while linux is still on version 1.30.0. I restarted both machines, and that did not solve the issue.

They got back in sync without me doing anything.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.