I am running Samba 4.6 on FreeBSD 11 with ZFS. Each user belongs to the fileserver group. In addition, there are additional groups for each department, such as sales group.
And here comes my problem. On the server is a folder called sales. Which is owned by fileserver and the group sales. Why can't my group members from sales overwrite files via Windows inside this folder. Using a shell access the editing works without any problems.
Under Windows appears the message "Access to the destination folder has been denied" when I try to overwrite a file. New files can be created inside the sales folder without a problem. Renaming also works
folder sales
File inside sales folder
changing the file to
or
has no effect. Only when I give the group the same permission as the file
then I can delete the file from windows.
Can someone please explain to me what I am doing wrong. I already spend hours to figured it out.
And here comes my problem. On the server is a folder called sales. Which is owned by fileserver and the group sales. Why can't my group members from sales overwrite files via Windows inside this folder. Using a shell access the editing works without any problems.
Under Windows appears the message "Access to the destination folder has been denied" when I try to overwrite a file. New files can be created inside the sales folder without a problem. Renaming also works
folder sales
Code:
chmod 770 sales
chown fileserver:sales
# file: sales
# owner: fileserver
# group: sales
owner@:rwxp--aARWcCos:-------:allow
group@:rwxp--a-R-c--s:-------:allow
everyone@:r-x---a-R-c--s:-------:allow
Code:
chmod 770 test.txt
chown fileserver:sales
# file: test.txt
# owner: fileserver
# group: sales
owner@:rwxp--aARWcCos:-------:allow
group@:rwxp--a-R-c--s:-------:allow
everyone@:------a-R-c--s:-------:allow
Code:
group@:rwxp-da-R-c--s:-------:allow
Code:
group@:rwxpDda-R-c-os:-------:allow
Code:
group@:rwxp--aARWcCos:-------:allow
Can someone please explain to me what I am doing wrong. I already spend hours to figured it out.