Preserve chmod permission after editing .stignore via WebUI


I’m living with this cosmetic problem since a long time and now I’d like to ask kindly if it could be improved.


  • chmod 0755 /path/to/folder/.stignore
  • Edit ignore patterns for “folder” from Syncthing’s Web UI
  • Syncthing always resets permission to 0600


What I like to suggest:

  • Keep the file permission if the user changed it. e.g. 0755 in my case.

Thank you.

Kind regards,


That might even qualify as a bug: Our atomic writer simply doesn’t care about permissions of the final product. In any case please file an issue on github :slight_smile:



Thanks for !