# Default ignores won't save (#7428)

**URL:** https://forum.syncthing.net/t/default-ignores-wont-save-7428/17912
**Category:** UX
**Created:** [January 20, 2022, 2:22pm UTC](https://forum.syncthing.net/t/default-ignores-wont-save-7428/17912 "2022-01-20T14:22:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![cosas](https://forum.syncthing.net/user_avatar/forum.syncthing.net/cosas/32/14159_2.png) [@cosas](https://forum.syncthing.net/u/cosas)
#### Post date: [January 20, 2022, 2:22pm UTC](https://forum.syncthing.net/t/default-ignores-wont-save-7428/17912/1 "2022-01-20T14:22:34Z")

</div>

v1.19.0-rc1 (Linux)

> <https://github.com/syncthing/syncthing/issues/7428>
>
> It would be nice to input a default set of Ignore Patterns for newly added folde…rs that you would otherwise manually apply to every share you add. E.g.:
> 
> \_\_Settings\_\_ :arrow\_right: \_\_Default Configuration\_\_ :arrow\_right: \_\_Edit Folder Defaults\_\_ :arrow\_right: \_\_Ignore Patterns\_\_
> 
> For example, I always add this by default. Sometimes I forget, causing certain peers to exceed their free disk space.
> 
> \`\`\`
> (?d).Trash-\*
> (?d).sync.ffs\_db
> (?d)tmp
> node\_modules
> bower\_components
> lost+found
> \*.bak
> \*.delme
> \`\`\`
> 
> This template would then be copied to the added folder ignore patterns where it can be edited. A new installation of Syncthing could add some sane defaults for the user, or just leave it empty.

After reopen, the ignore list is empty. Same after restart ST. Although, the new feature works as expected even after restart. If the default settings dialog was able to read the config, it would be perfect (allow changes instead of typing in the previous list again for edit). Thanks Devs… Still great soft

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [January 20, 2022, 2:40pm UTC](https://forum.syncthing.net/t/default-ignores-wont-save-7428/17912/2 "2022-01-20T14:40:55Z")

</div>

Same here, I can not store any content.

As feature request: Is also possible to have device ignores, it means a ignore setting is working regarding the whole device?

Very good is the possibility of `#include .stglobalignore` as entrance in the `.stignore` so I can exchange folder wide. If I have the same content in all `.stglobalignore` it makes sence to have a device wide option.

---

<div class="post-metadata">

### Author: ![tomasz86](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@tomasz86](https://forum.syncthing.net/u/tomasz86)
#### Post date: [January 20, 2022, 8:05pm UTC](https://forum.syncthing.net/t/default-ignores-wont-save-7428/17912/3 "2022-01-20T20:05:15Z")

</div>

Default patterns are in fact saved (i.e. they are added to `config.xml`), but the GUI fails to display them. They are still applied when adding a new folder though.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [January 20, 2022, 9:36pm UTC](https://forum.syncthing.net/t/default-ignores-wont-save-7428/17912/4 "2022-01-20T21:36:24Z")

</div>

What is the parameter in the `config.xml`?

---

<div class="post-metadata">

### Author: ![imsodin](https://forum.syncthing.net/user_avatar/forum.syncthing.net/imsodin/32/3317_2.png) [@imsodin](https://forum.syncthing.net/u/imsodin)
#### Post date: [January 20, 2022, 10:27pm UTC](https://forum.syncthing.net/t/default-ignores-wont-save-7428/17912/5 "2022-01-20T22:27:26Z")

</div>

Fix: [gui: Fix loading default ignores (ref #7530) by imsodin · Pull Request #8135 · syncthing/syncthing · GitHub](https://github.com/syncthing/syncthing/pull/8135)  
Will result in a new RC soonish.
