# Force Directory and File Permissions

**URL:** <https://help.nextcloud.com/t/force-directory-and-file-permissions/30540>\
**Category:** ℹ️ Support\
**Created:** [April 18, 2018, 3:26pm UTC](https://help.nextcloud.com/t/force-directory-and-file-permissions/30540 "2018-04-18T15:26:09Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tlaughlin](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tlaughlin/32/8807_2.png) [@tlaughlin](https://help.nextcloud.com/u/tlaughlin)\
**Post date:** [April 23, 2018, 6:14pm UTC](https://help.nextcloud.com/t/force-directory-and-file-permissions/30540/8 "2018-04-23T18:14:54Z")

</div>

chmod g+s is successfully applying the correct group for new folders however they are created without group having write permission.

Short version of this question would be to ask where in nextcloud is the folder created and could I add to that setting permissions correctly.

I mean I understand they are created with the www-data user and group normally but why wouldn’t I be able to set group write permissions as well.

This is an apache setup on ubuntu btw with ZFS pool.

TL

---

_[View the full topic](https://help.nextcloud.com/t/force-directory-and-file-permissions/30540)._
