# Permission denied - Synology Diskstation

**URL:** https://forum.syncthing.net/t/permission-denied-synology-diskstation/8010
**Category:** Support
**Created:** [August 12, 2016, 10:54am UTC](https://forum.syncthing.net/t/permission-denied-synology-diskstation/8010 "2016-08-12T10:54:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![marky\_uk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marky_uk/32/2552_2.png) [@marky\_uk](https://forum.syncthing.net/u/marky_uk)
#### Post date: [August 12, 2016, 10:54am UTC](https://forum.syncthing.net/t/permission-denied-synology-diskstation/8010/1 "2016-08-12T10:54:20Z")

</div>

I’ve had Syncthing installed for a long time on my Diskstation and for the most part, it works great.

I’m getting thousands of Permission Denied errors in the GUI log, e.g. [http://i.imgur.com/L5RjKjn.png](http://i.imgur.com/L5RjKjn.png) and [http://i.imgur.com/kYW6m3l.png](http://i.imgur.com/kYW6m3l.png)

Here’s my overview - [http://i.imgur.com/kt7vcqI.png](http://i.imgur.com/kt7vcqI.png) - a lot hey!

Can anyone suggest what I can do?

---

<div class="post-metadata">

### Author: ![wweich](https://forum.syncthing.net/user_avatar/forum.syncthing.net/wweich/32/1063_2.png) [@wweich](https://forum.syncthing.net/u/wweich)
#### Post date: [August 12, 2016, 12:45pm UTC](https://forum.syncthing.net/t/permission-denied-synology-diskstation/8010/2 "2016-08-12T12:45:09Z")

</div>

Did you always have the errors, or are they new?

`.DS_Store` should generally be in the ignore list, as that is only metadata from the Synology OS.

It seems to me, that the user which is running Syncthing, doesn’t have write permissions. Did you add the user to the admin group, so it can access and write all folders in the volume(s)?

---

<div class="post-metadata">

### Author: ![marky\_uk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marky_uk/32/2552_2.png) [@marky\_uk](https://forum.syncthing.net/u/marky_uk)
#### Post date: [August 12, 2016, 12:52pm UTC](https://forum.syncthing.net/t/permission-denied-synology-diskstation/8010/3 "2016-08-12T12:52:08Z")

</div>

Hi there

I always had the errors, and never found a proper solution (probably change who owned and ran the syncthing task, etc) but found an ownership modifier script and ran that on all files at that point - clearly an instant but not permanent solution! Oh, and I’ve lost the script, but would prefer to fix it properly!

Yes, I think you’re right re admin group.

I don’t know which user is running Syncthing or how to find out.

I can see no user that has a name relating to Syncthing.

I can see 4 groups - administrators, gtpp, sc-syncthing and users.

In the administrators group there is just myself, admin and plex.

---

<div class="post-metadata">

### Author: ![wweich](https://forum.syncthing.net/user_avatar/forum.syncthing.net/wweich/32/1063_2.png) [@wweich](https://forum.syncthing.net/u/wweich)
#### Post date: [August 12, 2016, 1:14pm UTC](https://forum.syncthing.net/t/permission-denied-synology-diskstation/8010/4 "2016-08-12T13:14:04Z")

</div>

I never used the syncthing package, but “installed” it manually, so I don’t know the user either.

Adding the group sc-syncthing with full access to the Synology Shares (with inherit) should do the trick, I think.

---

<div class="post-metadata">

### Author: ![marky\_uk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marky_uk/32/2552_2.png) [@marky\_uk](https://forum.syncthing.net/u/marky_uk)
#### Post date: [August 12, 2016, 1:28pm UTC](https://forum.syncthing.net/t/permission-denied-synology-diskstation/8010/5 "2016-08-12T13:28:18Z")

</div>

Hi there

Sure, OK. Would it make sense to run the syncthing task as admin user?

I see this for the share permission that’s failing - [http://i.imgur.com/URq9Oe8.png](http://i.imgur.com/URq9Oe8.png)

In fact, I’ve just gone onto the top level share folder and applied the permissions again to all subfolders and I can see the Out of Sync Items, instead of sat at the same high number for weeks, is now decreasing at a pace.

So it seems that the permissions are not being set correctly or something when the folders are created? I dunno!

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [September 11, 2016, 1:38pm UTC](https://forum.syncthing.net/t/permission-denied-synology-diskstation/8010/6 "2016-09-11T13:38:10Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
