Skip to content

[BUG] Folder permissions get reset when (re)starting syncthing docker container #88

Open
@jensb

Description

@jensb

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I am running the syncthing docker container on a Synology NAS. The folder where syncthing stores its data is also shared using SMB. I have set up the root folder permissions so that multiple users can access this folder.

But whenever I restart the syncthing docker container, these settings get reset so that only I (admin) can access this folder.

Is there anything in the docker container startup scripts that changes the permissions of the shared config folder?

Expected Behavior

No change of permissions in /config shared folder during startup.

Steps To Reproduce

  1. Install the docker container on a Synology NAS
  2. share the folder used for Syncthing data also via SMB using Synology with multiple users
  3. Start up the container
  4. Watch as the file permissions get reset so that only one (the admin user) can access this folder

Environment

- OS: Synology NAS
- How docker service was installed: using the Syncology Container Manager

CPU architecture

x86-64

Docker creation

Using the synology container manager

Container logs

There is no mention of permissions or security related in the logs.
However, there are a lot of personal data (folder names, share names, device names) in the logs so I hesitate to make them public. If these are really required, please provide a private email to send them to. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions