First I set the setgid bit, so that files/folder under directory will be created with the same group as directory.
chmod g+s <directory> Then I tried to change the folder's permission structure, so that the group has rwx access to it by:
setfacl -R -m g::rwx /<directory> Problem
Now, root came by and creates a new folder (with files) under this directory which leads to:
drwxr-xr-x+ 3 root homecontrol 4096 May 11 20:20 '<folder>' So homecontrol was set properly as group, but the write permission is missing.
ls... What is the output of `getfacl '/<directory>/<folder>'?getfaclon the directory displays proper permissions like: # owner: root # group: homecontrol group::rwx So my problem is, that the owner is still root, which shall be homecontrol. Is there a way i can set the default owner to homecontrol?lsoutput made it quite clear that the owner isroot...