# Snap Install Location Bug (Feature?)

**URL:** https://forum.syncthing.net/t/snap-install-location-bug-feature/11219
**Category:** General
**Created:** [January 28, 2018, 10:31pm UTC](https://forum.syncthing.net/t/snap-install-location-bug-feature/11219 "2018-01-28T22:31:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Roark](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/r/e8c25b/32.png) [@Roark](https://forum.syncthing.net/u/Roark)
#### Post date: [January 28, 2018, 10:31pm UTC](https://forum.syncthing.net/t/snap-install-location-bug-feature/11219/1 "2018-01-28T22:31:59Z")

</div>

I didn’t see a relevant post on this, so I wanted to add it in case it is not a feature but rather a bug. Essentially, the Snap install on Ubuntu (18.04) sets the syncthing default directory at `~/snap/syncthing/` rather than `~/`. Moreover, it puts the config files in `~/snap/syncthing/.config` rather than `~/.config`. The result, for me, was that it did not play nice with syncthing-gtk. Also, I believe it did not install the usual syncthing binaries at `/usr/bin/syncthing`. This led to errors when trying to use syncthing-gtk.

FWIW, a simple `sudo apt install syncthing` worked and everything went in the expected locations.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [January 29, 2018, 6:09am UTC](https://forum.syncthing.net/t/snap-install-location-bug-feature/11219/2 "2018-01-29T06:09:32Z")

</div>

This is a feature of how snaps work.

---

<div class="post-metadata">

### Author: ![techtonik](https://forum.syncthing.net/user_avatar/forum.syncthing.net/techtonik/32/580_2.png) [@techtonik](https://forum.syncthing.net/u/techtonik)
#### Post date: [March 31, 2020, 9:35am UTC](https://forum.syncthing.net/t/snap-install-location-bug-feature/11219/3 "2020-03-31T09:35:43Z")

</div>

It is still possible to set config location as an option, but needs modification to `snap` packaging.

> [@snap feature request - use \`~/.config/syncthing\`](https://forum.syncthing.net/t/snap-feature-request-use-config-synthing/14728):
>
> I installed syncthing from [https://snapcraft.io/syncthing](https://snapcraft.io/syncthing) because version that comes with Ubuntu is terribly outdated - [still 1.1.4](https://packages.ubuntu.com/focal/syncthing) - and doesn’t work with my other devices. However, the snap version creates its own /home/techtonik/snap/syncthing/common/syncthing/config.xml which does not persist after removing syncthing. For the snap version I’d appreciate the option to reuse config in ~/.config/synthing using the command like sudo snap set syncthing homeconfig=true as documented in [https://s…](https://snapcraft.io/docs/adding-snap-configuration)
