Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Syncthing
  3. Syncthing - permission issue to attached volume.

Syncthing - permission issue to attached volume.

Scheduled Pinned Locked Moved Syncthing
volumes
4 Posts 3 Posters 51 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AartJansen
    wrote last edited by joseph
    #1

    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 ?

    N 1 Reply Last reply
    0
    • A AartJansen

      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 ?

      N Offline
      N Offline
      Neiluj
      wrote last edited by
      #2

      @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.

      33ab22ce-5829-4ac6-b1a5-74f27412f74d-image.png

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AartJansen
        wrote last edited by AartJansen
        #3

        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.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          joseph
          Staff
          wrote last edited by
          #4

          @AartJansen this is most likely permission related. Syncthing runs as docker user cloudron . Not sure how you added the volume, but if it's manually (like mountpoint or filesystem), you have to make sure it has permissions for a normal user to write. chmod 777 usually fixes this.

          1 Reply Last reply
          0
          • J joseph moved this topic from Support
          • J joseph marked this topic as a regular topic
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search