# Permissions problems

**URL:** https://forum.syncthing.net/t/permissions-problems/484
**Category:** Support
**Created:** [June 30, 2014, 5:27pm UTC](https://forum.syncthing.net/t/permissions-problems/484 "2014-06-30T17:27:44Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ovizii](https://forum.syncthing.net/user_avatar/forum.syncthing.net/ovizii/32/5317_2.png) [@ovizii](https://forum.syncthing.net/u/ovizii)
#### Post date: [June 30, 2014, 5:27pm UTC](https://forum.syncthing.net/t/permissions-problems/484/1 "2014-06-30T17:27:44Z")

</div>

I’ve got two nodes: node1 and node2 I created a repo on both, filled one side, the sync starts but apparently syncthing creates the folder on node2 like this:

ls -al Documents/ total 36 drwxrwxr-x 3 1001 staff 3 Jun 30 19:21 . drwxrwxr-x 7 1001 staff 7 Jun 30 19:05 … drwx------ 2 syncer staff 2 Jun 30 19:21 \_data

and doesn’t set group access rights which I rely on :-/ (in this example for the folder \_data)

How can I tell syncthing to set 775 or 77whatever on the created directories?

---

<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: [June 30, 2014, 9:51pm UTC](https://forum.syncthing.net/t/permissions-problems/484/2 "2014-06-30T21:51:13Z")

</div>

Syncthing copies the permissions of files _inside_ the repository. For the repository itself it does not, so it gets set according to the umask of the system. Simply chmod it to whatever you like.

---

<div class="post-metadata">

### Author: ![ovizii](https://forum.syncthing.net/user_avatar/forum.syncthing.net/ovizii/32/5317_2.png) [@ovizii](https://forum.syncthing.net/u/ovizii)
#### Post date: [July 1, 2014, 10:34am UTC](https://forum.syncthing.net/t/permissions-problems/484/3 "2014-07-01T10:34:06Z")

</div>

oh so to get this right I should manually create the containing folder and set permissions then sync or is there a way to tell syncthign to use another umask to give my folders 775 permissions?

---

<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: [July 2, 2014, 5:21pm UTC](https://forum.syncthing.net/t/permissions-problems/484/4 "2014-07-02T17:21:27Z")

</div>

Syncthing won’t change the permissions once the folder exists, so you can create it beforehand with the desired permissions or change the permissions after syncthing has created the folder.

---

<div class="post-metadata">

### Author: ![ovizii](https://forum.syncthing.net/user_avatar/forum.syncthing.net/ovizii/32/5317_2.png) [@ovizii](https://forum.syncthing.net/u/ovizii)
#### Post date: [July 2, 2014, 7:34pm UTC](https://forum.syncthing.net/t/permissions-problems/484/5 "2014-07-02T19:34:43Z")

</div>

Cool thanks for the info!

---

<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: [May 12, 2017, 12:56pm UTC](https://forum.syncthing.net/t/permissions-problems/484/6 "2017-05-12T12:56:32Z")

</div>


