Scott Ballantyne
Cadet
- Joined
- Dec 18, 2015
- Messages
- 6
On a Samba share with Freenas 9.3 a file with the following permissions:
-rw-rw-rw- 1 root wheel 19817134 Feb 5 00:30 FOObar.flac
and
# getfacl FOObar.flac
# file: FOObar.flac
# owner: root
# group: wheel
owner@:rw-p--aARWcCos:------:allow
group@:rw-p--a-R-c--s:------:allow
everyone@:rw-p--a-R-c--s:------:allow
Will not allow writing from a windows XP machine (and perhaps other windows machines) for a user who is not root, although in the wheel group. If the file owner ship is changed to his user ID, he can modify the file, and can also create files in that directory.
For a similarly configured server on a FreeBSD 10.2 box, Samba4, the same user can modify a file with the same permissions and ownership (root:wheel).
Another curio is that the user must login to the Freenas box, but not the FreeBSD 10.2 box.
I am at a loss to explain or understand this, and wonder if someone more knowledgeable than I can help me understand what is going on here. I can post config files from both machines if that would be helpful.
Thank you.
Scott
-rw-rw-rw- 1 root wheel 19817134 Feb 5 00:30 FOObar.flac
and
# getfacl FOObar.flac
# file: FOObar.flac
# owner: root
# group: wheel
owner@:rw-p--aARWcCos:------:allow
group@:rw-p--a-R-c--s:------:allow
everyone@:rw-p--a-R-c--s:------:allow
Will not allow writing from a windows XP machine (and perhaps other windows machines) for a user who is not root, although in the wheel group. If the file owner ship is changed to his user ID, he can modify the file, and can also create files in that directory.
For a similarly configured server on a FreeBSD 10.2 box, Samba4, the same user can modify a file with the same permissions and ownership (root:wheel).
Another curio is that the user must login to the Freenas box, but not the FreeBSD 10.2 box.
I am at a loss to explain or understand this, and wonder if someone more knowledgeable than I can help me understand what is going on here. I can post config files from both machines if that would be helpful.
Thank you.
Scott