Syncthing - permission issue to attached volume.
-
I have syncthing server / app installed. I have added a local disk volume to the apps storage. (/media/14TB) it has read / write permissions set.
I go to volumes and folder explorer, create a sync folder to use under /media/14TB
Owner by default is root, the change owner dialogue gives multiple accounts but does not seem to change if I select another and click "change owner".The only reason I'm looking at that permission is that when syncthing tries to sync the folder it reports a permission error
2025-08-16 22:29:05: Failed to create folder marker (folder.label=cdrive folder.id=xcljm-mcc3t folder.type=sendreceive error="mkdir /media/14TB/sync/.stfolder: permission denied" log.pkg=model) 2025-08-16 22:29:05: Failed initial scan (error="folder marker missing (this indicates potential data loss, search docs/forum to get information about how to proceed)" folder.label=cdrive folder.id=xcljm-mcc3t folder.type=sendreceive log.pkg=model)
What am I doing wrong ?
-
I have syncthing server / app installed. I have added a local disk volume to the apps storage. (/media/14TB) it has read / write permissions set.
I go to volumes and folder explorer, create a sync folder to use under /media/14TB
Owner by default is root, the change owner dialogue gives multiple accounts but does not seem to change if I select another and click "change owner".The only reason I'm looking at that permission is that when syncthing tries to sync the folder it reports a permission error
2025-08-16 22:29:05: Failed to create folder marker (folder.label=cdrive folder.id=xcljm-mcc3t folder.type=sendreceive error="mkdir /media/14TB/sync/.stfolder: permission denied" log.pkg=model) 2025-08-16 22:29:05: Failed initial scan (error="folder marker missing (this indicates potential data loss, search docs/forum to get information about how to proceed)" folder.label=cdrive folder.id=xcljm-mcc3t folder.type=sendreceive log.pkg=model)
What am I doing wrong ?
@AartJansen What protocol are you using to mount your drive in Cloudron?
You might want to look at the "ignore permissions" setting at the folder level in Syncthing to have things work properly.
-
Thanks for the reply, yes I had stumbled onto that, and had set it. Didn't make a difference though.
Have tried making the folder with the cloudron file/folder explore page, and via the sync thing share creation. The syncthing creation completely fails to create a folder.
I guess I could ssh into the server, and chmod the permission.
Its just a SATA Hdd, ext4 partition.