Access Denied & Folder not empty (Win7-32b-Atom)

Hi

Folder is r/w on both side. The 2 devices are 0.14.44.

I unzipped an archive into a new subdir in a shared folder on node A (Win). Then once synced, on node B (Linux-64b) I moved the whole subfolder “Artist” that contained about 12 other subfolders out of ST scope. Now node A shows this. I made sure no hidden or system files are there in.

Artist 	directory is not empty
Artist\(2001) The Definitive Collection 	directory is not empty
Artist\(2001) The Definitive Collection\Disc 1 	Accès refusé.
Artist\(2001) The Definitive Collection\Disc 2 	Accès refusé.

On both side I have these ignores. A-Win:

(?d)*thumb*.db
(?d)*.ini
(?d)*.lnk

B-Linux

(?d)(?i)*thumb*.db
(?d)(?i)*.ini
(?d)(?i)*.lnk

I checked permissions and ReadOnly status but I did not see difference with other files in the Windows profile. The user is member of Administrators, has ownership & full privileges on the whole tree and st runs as the user.

Some idea please ?

[EDIT]: looking at Linux side, I see the 2 Disc 1/2 subdirs (now out of ST scope) have a special icon with a lock

$ ls -ld
dr-xr-xr-x 2 me me 4096 févr.  9 01:25 Disc 1
dr-xr-xr-x 2 me me 4096 févr.  9 01:24 Disc 2

BTW, Windows disk is NTFS

Back to A, I added a file in Disc 1. Once synced, from B I moved the whole subtree Artist\(2001) The Definitive Collection\Disc 1 again out of ST scope and now Disc 1 is removed on A.

A current status : global:0/0/0 local:0/3/384 B Out of sync items: 3 items: ~0 B, Failed items: 3 items

Artist                                          directory is not empty
Artist\(2001) The Definitive Collection         directory is not empty
Artist\(2001) The Definitive Collection\Disc 2  Accès refusé.

B shows Uptodate local==Global=0/0/0

On the device that shows “Accès refusé” something is preventing syncthing from deleting “Disc 2”. You need to check permissions of that dir and parent directories. I believe this is on windows, so I guess that’s somewhere in the properties dialog. If it is on linux, run ls -lad in “Disc 2”, as access rights to the parent directory also limit what you can do with its content.

On Linux local=global=0,0,0

On Windows (A), as I said in OP I yet checked and I couldn’t see any difference. I think the problem is in ST because if I add a file in Disc 2 on Win (A) then Disc 2 will be recreated on B (not only populated), and then if I delete the tree on B, the tree will delete on A.

Would it be possible there is an issue with massive delete request, as the 2 folders Disc 1 & Disc 2 were the content of the last folder (in alphabetic sorting) ((2001) The definitive…) in the Artist tree, and this also may mean the last that was caught in deletion process before treating the parent ?

[EDIT]: this Windows is French. I switched the GUI to English in the second post, so that we see the message “Accès refusé” really seems to come from the NTFS through Windows localization.

The error is definitely occurring at OS level, detectable by the error “Accès refusé” being French, Syncthing does not translate any error/log messages. It would be good to know on which operation it occurs. Please look at the log for a log line like INFO: Puller (folder ..., file ...): *operation*: Accès refusé.

Probably you don’t own the folders in Windows, hence they cannot be deleted, or there is also a known issue if folders have a custom icon.

@AudriusButkevicius, the whole tree was created from zip extraction, so all privileges/ownership would be the same… I checked.

Custom icon was in Linux side (and I saw it only once I moved the tree out of st scope), and it was not really custom, only the native nautilus icon showing we don’t have the “w” bit set. Would I’ve be able to move the tree if I first had not the “w” bit set ? whatever, on Win side, I unchecked the readonly checkboxes for Disc 1 & Disc 2 that both were grayed as usual on all directories. This I read that only this attribute is honoured when it comes to sync NTFS to extX FS. But the error was still here even after restarting st (I didn’t rebooted the Windows). And I repeat, the 2 folders were really empty.

2018-02-09 00:05:35 syncthing v0.14.44 "Dysprosium Dragonfly" (go1.9.2 windows-386) teamcity@build.syncthing.net 2018-01-19 06:21:05 UTC
2018-02-09 00:05:35 My ID: ITSMYIX
2018-02-09 00:05:36 Single thread SHA256 performance is 19 MB/s using crypto/sha256 (9.6 MB/s using minio/sha256-simd).
2018-02-09 00:05:37 Hashing performance with weak hash is 17.77 MB/s
2018-02-09 00:05:38 Hashing performance without weak hash is 11.42 MB/s
2018-02-09 00:05:38 Weak hash enabled, as it has an acceptable performance impact.
2018-02-09 00:05:39 Ready to synchronize "BoyFr" (Boy-Friend) (readwrite)
2018-02-09 00:05:39 Ready to synchronize "Sister" (Sister-Sister) (readwrite)
2018-02-09 00:05:39 Ready to synchronize "Mom" (Daughter-Mom) (readwrite)
2018-02-09 00:05:39 Ready to synchronize "My docs" (My-docs) (readwrite)
2018-02-09 00:05:39 ...
2018-02-09 00:05:39 Ready to synchronize "Lap-Desk(anything else on-demand)" (ODLap-Desk) (readwrite)
2018-02-09 00:05:39 Ready to synchronize "Dod" (Daught-Dod) (readwrite)
2018-02-09 00:05:39 Ready to synchronize "Grand-Dod" (LittleDaught-GrandDod) (readwrite)
2018-02-09 00:05:39 Send rate is unlimited, receive rate is unlimited
2018-02-09 00:05:39 Rate limits do not apply to LAN connections
2018-02-09 00:05:39 Using discovery server https://discovery-v4.syncthing.net/v2/?nolookup&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
2018-02-09 00:05:39 Using discovery server https://discovery-v6.syncthing.net/v2/?nolookup&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
2018-02-09 00:05:39 Using discovery server https://discovery.syncthing.net/v2/?noannounce&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
2018-02-09 00:05:39 TCP listener ([::]:22000) starting
2018-02-09 00:05:39 Completed initial scan of readwrite folder "Grand-Dod" (LittleDaught-GrandDod)
2018-02-09 00:05:39 Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
2018-02-09 00:05:39 KCP listener (0.0.0.0:22020) starting
2018-02-09 00:05:40 Completed initial scan of readwrite folder "BoyFr" (Boy-Friend)
2018-02-09 00:05:40 Completed initial scan of readwrite folder "Sister" (Sister-Sister)
2018-02-09 00:05:40 Device LF5AG4X-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "Dod (serveur 24/24)" at [dynamic]
2018-02-09 00:05:40 Device XEX7JAX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "Grand-Dod" at [dynamic]
2018-02-09 00:05:40 Device ITSMYIX is "My-Laptop(Win)" at [dynamic]
2018-02-09 00:05:40 Device Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "My-Desktop(Linux)" at [dynamic]
2018-02-09 00:05:40 Device 3XUIRNX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "Sister" at [dynamic]
2018-02-09 00:05:40 Device 772V4XX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "Dod" at [dynamic]
2018-02-09 00:05:40 Device E4YNYNX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "Mom" at [dynamic]
2018-02-09 00:05:40 Completed initial scan of readwrite folder "Mom" (Daughter-Mom)
2018-02-09 00:05:41 Completed initial scan of readwrite folder "Lap-Desk(anything else on-demand)" (ODLap-Desk)
2018-02-09 00:05:41 Completed initial scan of readwrite folder "My docs" (My-docs)
2018-02-09 00:05:41 Completed initial scan of readwrite folder "Dod" (Daught-Dod)
2018-02-09 00:05:41 GUI and API listening on 127.0.0.1:8384
2018-02-09 00:05:41 Access the GUI via the following URL: https://127.0.0.1:8384/
2018-02-09 00:05:51 Established secure connection to Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX at 192.168.17.3:22000-192.168.17.2:57383/tcp-server (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 00:05:51 Device Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX client is "syncthing v0.14.44" named "My-Desktop(Linux)" at 192.168.17.3:22000-192.168.17.2:57383/tcp-server
2018-02-09 00:05:51 Detected 0 NAT services
2018-02-09 00:05:52 Established secure connection to LF5AG4X-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX at 192.168.17.3:50256-DAD.WAN.IP.ADD:DadPort1/tcp-client (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 00:05:52 Device LF5AG4X-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX client is "syncthing v0.14.44" named "Dod (serveur 24/24)" at 192.168.17.3:50256-DAD.WAN.IP.ADD:DadPort1/tcp-client
2018-02-09 00:06:05 Established secure connection to 772V4XX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX at 192.168.17.3:50286-DAD.WAN.IP.ADD:DadPort2/tcp-client (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 00:06:05 Device 772V4XX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX client is "syncthing v0.14.44" named "DadLap" at 192.168.17.3:50286-DAD.WAN.IP.ADD:DadPort2/tcp-client
2018-02-09 00:06:10 Connected to already connected device 772V4XX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX (existing: 192.168.17.3:50286-DAD.WAN.IP.ADD:DadPort2/tcp-client new: 192.168.17.3:50295-DAD.WAN.IP.ADD:DadPort2/tcp-client)
2018-02-09 00:06:48 kcp://0.0.0.0:22020 detected NAT type: Port restricted NAT
2018-02-09 00:06:48 kcp://0.0.0.0:22020 resolved external address kcp://MY.WAN.IP.ADD:1024 (via stun.sipgate.net:3478)
2018-02-09 00:07:03 Could not connect to relay relay://83.194.132.164:587/?id=FTJFA6Q-NSZV4GB-AHRQ2BV-FNWUDGL-GIERBJE-VGTMVB4-MAGIOAA-EMUOSQQ&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=75000&globalLimitBps=150000&statusAddr=:22070&providedBy=GIJoe88: read tcp 127.0.0.1:50382->83.194.132.164:587: i/o timeout
2018-02-09 00:07:05 Joined relay relay://163.172.160.227:22067
2018-02-09 00:14:40 Error on folder "Lap-Desk(anything else on-demand)" (ODLap-Desk): folder path missing
2018-02-09 00:15:41 Restarted folder "Lap-Desk(anything else on-demand)" (ODLap-Desk) (readwrite)
2018-02-09 00:15:41 Connection to Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX at 192.168.17.3:22000-192.168.17.2:57383/tcp-server closed: reading length: read tcp 192.168.17.3:22000->192.168.17.2:57383: use of closed network connection
2018-02-09 00:15:41 Completed initial scan of readwrite folder "Lap-Desk(anything else on-demand)" (ODLap-Desk)
2018-02-09 00:16:18 Established secure connection to Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX at 192.168.17.3:50426-192.168.17.2:22020/tcp-client (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 00:16:18 Device Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX client is "syncthing v0.14.44" named "My-Desktop(Linux)" at 192.168.17.3:50426-192.168.17.2:22020/tcp-client
2018-02-09 00:16:22 Connected to already connected device Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX (existing: 192.168.17.3:50426-192.168.17.2:22020/tcp-client new: 192.168.17.3:22000-192.168.17.2:57440/tcp-server)
2018-02-09 00:18:00 Connection to Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX at 192.168.17.3:50426-192.168.17.2:22020/tcp-client closed: reading message: read tcp4 192.168.17.3:50426->192.168.17.2:22020: wsarecv: translated: An existing connection was (or had to be) closed by remote host
2018-02-09 00:18:07 Established secure connection to Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX at 192.168.17.3:22000-192.168.17.2:57453/tcp-server (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 00:18:07 Device Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX client is "syncthing v0.14.44" named "My-Desktop(Linux)" at 192.168.17.3:22000-192.168.17.2:57453/tcp-server
2018-02-09 00:21:50 Connection to Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX at 192.168.17.3:22000-192.168.17.2:57453/tcp-server closed: reading length: EOF
2018-02-09 00:22:19 Established secure connection to Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX at 192.168.17.3:50454-192.168.17.2:22020/tcp-client (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 00:22:19 Device Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX client is "syncthing v0.14.44" named "My-Desktop(Linux)" at 192.168.17.3:50454-192.168.17.2:22020/tcp-client
2018-02-09 00:22:20 Device Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX folder "My docs" (My-docs) has a new index ID (0x1A2894CE07CBF436)
2018-02-09 00:22:35 Listen (BEP/tcp): TLS handshake: write tcp 192.168.17.3:22000->192.168.17.2:57479: i/o timeout
2018-02-09 00:22:42 Connected to already connected device Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX (existing: 192.168.17.3:50454-192.168.17.2:22020/tcp-client new: 0.0.0.0:22020-192.168.17.2:37787/kcp-server)
2018-02-09 01:27:16 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection\\Disc 1"): delete dir: remove \\?\d:\Users\Fanny\Sync\Lap-Desk(anything else on-demand)\Artist\(2001) The Definitive Collection\Disc 1: Accès refusé.
2018-02-09 01:27:16 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection\\Disc 2"): delete dir: remove \\?\d:\Users\Fanny\Sync\Lap-Desk(anything else on-demand)\Artist\(2001) The Definitive Collection\Disc 2: Accès refusé.
2018-02-09 01:27:18 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection"): delete dir: directory is not empty
2018-02-09 01:27:18 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist"): delete dir: directory is not empty
2018-02-09 01:27:18 Folder "Lap-Desk(anything else on-demand)" (ODLap-Desk) isn't making progress. Pausing puller for 1m0s.
2018-02-09 01:28:18 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection\\Disc 2"): delete dir: remove \\?\d:\Users\Fanny\Sync\Lap-Desk(anything else on-demand)\Artist\(2001) The Definitive Collection\Disc 2: Accès refusé.
2018-02-09 01:28:18 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection\\Disc 1"): delete dir: remove \\?\d:\Users\Fanny\Sync\Lap-Desk(anything else on-demand)\Artist\(2001) The Definitive Collection\Disc 1: Accès refusé.
2018-02-09 01:28:19 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection"): delete dir: directory is not empty
2018-02-09 01:28:19 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist"): delete dir: directory is not empty
2018-02-09 01:28:19 Folder "Lap-Desk(anything else on-demand)" (ODLap-Desk) isn't making progress. Pausing puller for 1m0s.
2018-02-09 01:29:19 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection\\Disc 2"): delete dir: remove \\?\d:\Users\Fanny\Sync\Lap-Desk(anything else on-demand)\Artist\(2001) The Definitive Collection\Disc 2: Accès refusé.
2018-02-09 01:29:19 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection\\Disc 1"): delete dir: remove \\?\d:\Users\Fanny\Sync\Lap-Desk(anything else on-demand)\Artist\(2001) The Definitive Collection\Disc 1: Accès refusé.
2018-02-09 01:29:19 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection"): delete dir: directory is not empty
2018-02-09 01:29:19 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist"): delete dir: directory is not empty
2018-02-09 01:29:19 Folder "Lap-Desk(anything else on-demand)" (ODLap-Desk) isn't making progress. Pausing puller for 2m0s.
2018-02-09 01:31:20 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection\\Disc 2"): delete dir: remove \\?\d:\Users\Fanny\Sync\Lap-Desk(anything else on-demand)\Artist\(2001) The Definitive Collection\Disc 2: Accès refusé.
2018-02-09 01:31:20 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection\\Disc 1"): delete dir: remove \\?\d:\Users\Fanny\Sync\Lap-Desk(anything else on-demand)\Artist\(2001) The Definitive Collection\Disc 1: Accès refusé.
2018-02-09 01:31:20 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist\\(2001) The Definitive Collection"): delete dir: directory is not empty
2018-02-09 01:31:20 Puller (folder "Lap-Desk(anything else on-demand)" (ODLap-Desk), file "Artist"): delete dir: directory is not empty
2018-02-09 01:31:20 Folder "Lap-Desk(anything else on-demand)" (ODLap-Desk) isn't making progress. Pausing puller for 4m0s.


2018-02-08 23:36:00 syncthing v0.14.44 "Dysprosium Dragonfly" (go1.9.2 linux-amd64) deb@build.syncthing.net 2018-01-19 06:21:05 UTC [noupgrade]
2018-02-08 23:36:00 My ID: Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX
2018-02-08 23:36:01 Single thread SHA256 performance is 247 MB/s using minio/sha256-simd (167 MB/s using crypto/sha256).
2018-02-08 23:36:01 Hashing performance with weak hash is 211.80 MB/s
2018-02-08 23:36:02 Hashing performance without weak hash is 241.42 MB/s
2018-02-08 23:36:02 Weak hash enabled, as it has an acceptable performance impact.
2018-02-08 23:36:02 Ready to synchronize "Mom" (Daughter-Mom) (readwrite)
2018-02-08 23:36:02 Ready to synchronize "Desk-Lap" (ODLap-Desk) (readwrite)
2018-02-08 23:36:02 Ready to synchronize "Dod" (Daught-Dod) (readwrite)
2018-02-08 23:36:02 Ready to synchronize "Grand-Dod" (LittleDaught-GrandDod) (readwrite)
2018-02-08 23:36:02 ...
2018-02-08 23:36:02 Ready to synchronize "Sister (Sister-Sister) (readwrite)
2018-02-08 23:36:02 Send rate is unlimited, receive rate is unlimited
2018-02-08 23:36:02 Rate limits do not apply to LAN connections
2018-02-08 23:36:02 Using discovery server https://DAD.WAN.IP.ADD:9443/v2/?id=PUOOP5X-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX
2018-02-08 23:36:02 Using discovery server https://discovery-v4.syncthing.net/v2/?nolookup&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
2018-02-08 23:36:02 Using discovery server https://discovery-v6.syncthing.net/v2/?nolookup&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
2018-02-08 23:36:02 Using discovery server https://discovery.syncthing.net/v2/?noannounce&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
2018-02-08 23:36:02 TCP listener (0.0.0.0:22020) starting
2018-02-08 23:36:02 Completed initial scan of readwrite folder "Desk-Lap" (ODLap-Desk)
2018-02-08 23:36:02 Completed initial scan of readwrite folder "Mom" (Daughter-Mom)
2018-02-08 23:36:02 Completed initial scan of readwrite folder "Sister (Sister-Sister)
2018-02-08 23:36:02 Completed initial scan of readwrite folder "Dod" (Daught-Dod)
2018-02-08 23:36:02 Device 772V4XX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "Dod" at [dynamic]
2018-02-08 23:36:02 Device E4YNYNX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "Mom" at [dynamic]
2018-02-08 23:36:02 Device LF5AG4X-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "Dod (serveur 24/24)" at [dynamic]
2018-02-08 23:36:02 Device XEX7JAX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "Grand-Dod" at [dynamic]
2018-02-08 23:36:02 Device ITSMYIX is "My-Laptop(Win)" at [dynamic]
2018-02-08 23:36:02 Device Z76JAWX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "My-Desktop(Linux)" at [dynamic]
2018-02-08 23:36:02 Device 3XUIRNX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX is "Sister at [dynamic]
2018-02-08 23:36:02 GUI and API listening on 127.0.0.1:8384
2018-02-08 23:36:02 Access the GUI via the following URL: https://127.0.0.1:8384/
2018-02-08 23:36:02 Completed initial scan of readwrite folder "Grand-Dod" (LittleDaught-GrandDod)
2018-02-08 23:36:04 Established secure connection to 772V4XX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX at 192.168.17.2:22020-DAD.WAN.IP.ADD:41048/tcp-server (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-08 23:36:04 Device 772V4XX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX client is "syncthing v0.14.44" named "DadLap" at 192.168.17.2:22020-DAD.WAN.IP.ADD:41048/tcp-server
2018-02-08 23:36:13 Established secure connection to LF5AG4X-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX at 192.168.17.2:53083-DAD.WAN.IP.ADD:DadPort1/tcp-client (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-08 23:36:13 Device LF5AG4X-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX client is "syncthing v0.14.44" named "Dod (serveur 24/24)" at 192.168.17.2:53083-DAD.WAN.IP.ADD:DadPort1/tcp-client
2018-02-08 23:36:24 Established secure connection to ITSMYIX at 192.168.17.2:57234-192.168.17.3:22000/tcp-client (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-08 23:36:24 Device ITSMYIX client is "syncthing v0.14.44" named "My-Laptop(Win)" at 192.168.17.2:57234-192.168.17.3:22000/tcp-client
2018-02-08 23:56:08 Folder "Desk-Lap" (ODLap-Desk) isn't making progress. Pausing puller for 1m0s.
2018-02-09 00:03:50 Connection to ITSMYIX at 192.168.17.2:57234-192.168.17.3:22000/tcp-client closed: reading length: EOF
2018-02-09 00:04:04 Established secure connection to ITSMYIX at 192.168.17.2:57374-192.168.17.3:22000/tcp-client (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 00:04:04 Device ITSMYIX client is "syncthing v0.14.44" named "My-Laptop(Win)" at 192.168.17.2:57374-192.168.17.3:22000/tcp-client
2018-02-09 00:04:04 Unexpected folder "My docs" (My-docs) sent from device "ITSMYIX"; ensure that the folder exists and that this device is selected under "Share With" in the folder configuration.
2018-02-09 00:05:28 Connection to ITSMYIX at 192.168.17.2:57374-192.168.17.3:22000/tcp-client closed: reading length: read tcp 192.168.17.2:57374->192.168.17.3:22000: read: connection reset by peer
2018-02-09 00:05:51 Established secure connection to ITSMYIX at 192.168.17.2:57383-192.168.17.3:22000/tcp-client (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 00:05:51 Device ITSMYIX client is "syncthing v0.14.44" named "My-Laptop(Win)" at 192.168.17.2:57383-192.168.17.3:22000/tcp-client
2018-02-09 00:05:51 Unexpected folder "My docs" (My-docs) sent from device "ITSMYIX"; ensure that the folder exists and that this device is selected under "Share With" in the folder configuration.
2018-02-09 00:15:42 Connection to ITSMYIX at 192.168.17.2:57383-192.168.17.3:22000/tcp-client closed: reading length: EOF
2018-02-09 00:16:19 Established secure connection to ITSMYIX at 192.168.17.2:22020-192.168.17.3:50426/tcp-server (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 00:16:19 Device ITSMYIX client is "syncthing v0.14.44" named "My-Laptop(Win)" at 192.168.17.2:22020-192.168.17.3:50426/tcp-server
2018-02-09 00:16:19 Unexpected folder "My docs" (My-docs) sent from device "ITSMYIX"; ensure that the folder exists and that this device is selected under "Share With" in the folder configuration.
2018-02-09 00:16:23 Connected to already connected device ITSMYIX (existing: 192.168.17.2:22020-192.168.17.3:50426/tcp-server new: 192.168.17.2:57440-192.168.17.3:22000/tcp-client)
2018-02-09 00:16:40 Error on folder "Desk-Lap" (ODLap-Desk): folder path missing
2018-02-09 00:18:00 Restarted folder "Desk-Lap (On-demand)" (ODLap-Desk) (readwrite)
2018-02-09 00:18:00 Connection to ITSMYIX at 192.168.17.2:22020-192.168.17.3:50426/tcp-server closed: reading length: read tcp4 192.168.17.2:22020->192.168.17.3:50426: use of closed network connection
2018-02-09 00:18:00 Completed initial scan of readwrite folder "Desk-Lap (On-demand)" (ODLap-Desk)
2018-02-09 00:18:07 Established secure connection to ITSMYIX at 192.168.17.2:57453-192.168.17.3:22000/tcp-client (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 00:18:07 Device ITSMYIX client is "syncthing v0.14.44" named "My-Laptop(Win)" at 192.168.17.2:57453-192.168.17.3:22000/tcp-client
2018-02-09 00:18:07 Unexpected folder "My docs" (My-docs) sent from device "ITSMYIX"; ensure that the folder exists and that this device is selected under "Share With" in the folder configuration.
2018-02-09 00:21:38 Paused folder "My docs" (My-docs)
2018-02-09 00:21:50 No stored folder metadata for "My-docs": recalculating
2018-02-09 00:21:51 Restarted folder "My docs" (My-docs) (readwrite)
2018-02-09 00:21:51 Connection to ITSMYIX at 192.168.17.2:57453-192.168.17.3:22000/tcp-client closed: reading length: read tcp 192.168.17.2:57453->192.168.17.3:22000: use of closed network connection
2018-02-09 00:21:51 Completed initial scan of readwrite folder "My docs" (My-docs)
2018-02-09 00:22:20 Established secure connection to ITSMYIX at 192.168.17.2:22020-192.168.17.3:50454/tcp-server (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 00:22:20 Device ITSMYIX client is "syncthing v0.14.44" named "My-Laptop(Win)" at 192.168.17.2:22020-192.168.17.3:50454/tcp-server
2018-02-09 00:22:20 Device ITSMYIX folder "My docs" (My-docs) has a new index ID (0xFF6600EFAB4012B8)
2018-02-09 00:22:42 Connected to already connected device ITSMYIX (existing: 192.168.17.2:22020-192.168.17.3:50454/tcp-server new: 192.168.17.2:37787-192.168.17.3:22020/kcp-client)
2018-02-09 01:26:02 Folder "Desk-Lap (On-demand)" (ODLap-Desk) isn't making progress. Pausing puller for 1m0s.
2018-02-09 01:36:37 Connection to ITSMYIX at 192.168.17.2:22020-192.168.17.3:50454/tcp-server closed: reading length: read tcp4 192.168.17.2:22020->192.168.17.3:50454: read: connection reset by peer
2018-02-09 01:37:11 Established secure connection to ITSMYIX at 192.168.17.2:57922-192.168.17.3:22000/tcp-client (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 01:37:11 Device ITSMYIX client is "syncthing v0.14.44" named "My-Laptop(Win)" at 192.168.17.2:57922-192.168.17.3:22000/tcp-client
2018-02-09 01:37:20 Connected to already connected device ITSMYIX (existing: 192.168.17.2:57922-192.168.17.3:22000/tcp-client new: 192.168.17.2:22020-192.168.17.3:50953/tcp-server)
2018-02-09 01:40:44 Connection to ITSMYIX at 192.168.17.2:57922-192.168.17.3:22000/tcp-client closed: reading length: read tcp 192.168.17.2:57922->192.168.17.3:22000: read: connection reset by peer
2018-02-09 01:41:12 Established secure connection to ITSMYIX at 192.168.17.2:22020-192.168.17.3:51173/tcp-server (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-09 01:41:12 Device ITSMYIX client is "syncthing v0.14.44" named "My-Laptop(Win)" at 192.168.17.2:22020-192.168.17.3:51173/tcp-server

Well, all I can say, Windows is refusing allowing us to delete the folder when we try to, I cannot tell you why, but here are possible causes:

  1. Some application is using that directory (as in, have it open).
  2. The ownership, permissions or ACLs on the directory do not permit us to delete it (and no, just declaring that it came from a zip file does not validate that the permissions are correct).
2 Likes

Of course, but the very strange is : Once dir is deleted on B but fails to delete on A, and then I add a file in dir on A, then dir is re-created on B, then I delete dir on B, then dir now deletes on A ???

I suspect it gets recreated on B with different permissions that then get synced to A.

Tonight I will be able to run a CACLS command on the remaining dir. Would this be of some interest before I manually delete it ?

I have no idea what that command does, so not sure. If that answers why syncthing is not able to delete the dir, then sure.

Here is the output of privileges. The account for Me is member of Administrators group

d:\Users\Me\Sync\PC-Fixe (passerelle)>icacls . /T
. BUILTIN\Administrateurs:(I)(F)
  BUILTIN\Administrateurs:(I)(OI)(CI)(IO)(F)
  AUTORITE NT\Système:(I)(F)
  AUTORITE NT\Système:(I)(OI)(CI)(IO)(F)
  AUTORITE NT\Utilisateurs authentifiés:(I)(M)
  AUTORITE NT\Utilisateurs authentifiés:(I)(OI)(CI)(IO)(M)
  BUILTIN\Utilisateurs:(I)(RX)
  BUILTIN\Utilisateurs:(I)(OI)(CI)(IO)(GR,GE)

.\.stfolder BUILTIN\Administrateurs:(I)(F)
            BUILTIN\Administrateurs:(I)(OI)(CI)(IO)(F)
            AUTORITE NT\Système:(I)(F)
            AUTORITE NT\Système:(I)(OI)(CI)(IO)(F)
            AUTORITE NT\Utilisateurs authentifiés:(I)(M)
            AUTORITE NT\Utilisateurs authentifiés:(I)(OI)(CI)(IO)(M)
            BUILTIN\Utilisateurs:(I)(RX)
            BUILTIN\Utilisateurs:(I)(OI)(CI)(IO)(GR,GE)

.\.stignore BUILTIN\Administrateurs:(I)(F)
            AUTORITE NT\Système:(I)(F)
            AUTORITE NT\Utilisateurs authentifiés:(I)(M)
            BUILTIN\Utilisateurs:(I)(RX)

.\Artist BUILTIN\Administrateurs:(I)(F)
       BUILTIN\Administrateurs:(I)(OI)(CI)(IO)(F)
       AUTORITE NT\Système:(I)(F)
       AUTORITE NT\Système:(I)(OI)(CI)(IO)(F)
       AUTORITE NT\Utilisateurs authentifiés:(I)(M)
       AUTORITE NT\Utilisateurs authentifiés:(I)(OI)(CI)(IO)(M)
       BUILTIN\Utilisateurs:(I)(RX)
       BUILTIN\Utilisateurs:(I)(OI)(CI)(IO)(GR,GE)

.\Artist\(2001) The Definitive Collection BUILTIN\Administrateurs:(I)(F)
                                    BUILTIN\Administrateurs:(I)(OI)(CI)(IO)(F)
                                    AUTORITE NT\Système:(I)(F)
                                    AUTORITE NT\Système:(I)(OI)(CI)(IO)(F)
                                    AUTORITE NT\Utilisateurs authentifiés:(I)(M)
                                    AUTORITE NT\Utilisateurs authentifiés:(I)(OI)(CI)(IO)(M)
                                    BUILTIN\Utilisateurs:(I)(RX)
                                    BUILTIN\Utilisateurs:(I)(OI)(CI)(IO)(GR,GE)

.\Artist\(2001) The Definitive Collection\Disc 2 MyLaptop\Me:(OI)(CI)(F)
                                           BUILTIN\Administrateurs:(I)(F)
                                           BUILTIN\Administrateurs:(I)(OI)(CI)(IO)(F)
                                           AUTORITE NT\Système:(I)(F)
                                           AUTORITE NT\Système:(I)(OI)(CI)(IO)(F)
                                           AUTORITE NT\Utilisateurs authentifiés:(I)(M)
                                           AUTORITE NT\Utilisateurs authentifiés:(I)(OI)(CI)(IO)(M)
                                           BUILTIN\Utilisateurs:(I)(RX)
                                           BUILTIN\Utilisateurs:(I)(OI)(CI)(IO)(GR,GE)

6 files successfully treated ; 0 files failed

As you see Me gets (F)ull privileges (I)nherited from Administrators membership. I even gave to myself explicit Full control on Disc 2, but still in error “Out of sync”

So this doesn’t mean much to me, but parent of Disc 2 doesn’t have Me. Anyways, if that’s not a problem, then perhaps something (some application) has that directory open, hence it cannot be removed. Did you try rebooting your PC?

Not a problem, Me inherits from Administrators group

I thought about that: I checked with Unlocker and I saw Explorer.exe had a lock on Disc 2 and many other dirs. I just closed Explorer window (not killed it), reopened, re-checked and saw no locks anymore . Althought, st couldn’t still delete Disc 2. In the end I deleted this tree by hand and I didn’t get an error. This is remaining a strange issue I already met in previous releases, but maybe not exactly the same, who knows? Something that may have bring the issue is this : when I initially unzipped the archive to the shared folder (using 7zip filemanager) I got an error at some point, stating a CRC error on a file so I killed 7z. Maybe this left behind what we French call une trace de pneu dans le calbut.

I thought of, but didn’t as I used this laptop remotely and wasn’t sure I could get access back on reboot.

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