Discussion:
[Samba] frustrations with shares
Frank Kahle
2016-07-27 17:47:50 UTC
Permalink
I am trying to allow users with permissions in one group (DEV) to have full
access to a folder that is owned by (QA). I have not been able to figure
this out. Its running samba 4.2 in WORKGROUP mode (I can find everything
for domain but I am not ready for that). Its running on freebsd on the
latest nas4free build NAS with a ZFS file system..



Thanks in advance



Frank Kahle

FileCatalyst | Unlimi-Tech Software

Recipient of the 66th Annual Technology and Engineering EmmyR Award

+ 1 613 667 2439 ext 114

1 877 327 9387 NA toll-free

1 613 986 4896 mobile



<http://www.filecatalyst.com> www.filecatalyst.com

1725 St. Laurent Blvd, #205

Ottawa, On

K1G 3V4
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
David Bear
2016-07-31 02:45:36 UTC
Permalink
using posix acls?
Post by Frank Kahle
I am trying to allow users with permissions in one group (DEV) to have full
access to a folder that is owned by (QA). I have not been able to figure
this out. Its running samba 4.2 in WORKGROUP mode (I can find everything
for domain but I am not ready for that). Its running on freebsd on the
latest nas4free build NAS with a ZFS file system..
Thanks in advance
Frank Kahle
FileCatalyst | Unlimi-Tech Software
Recipient of the 66th Annual Technology and Engineering EmmyR Award
+ 1 613 667 2439 ext 114
1 877 327 9387 NA toll-free
1 613 986 4896 mobile
<http://www.filecatalyst.com> www.filecatalyst.com
1725 St. Laurent Blvd, #205
Ottawa, On
K1G 3V4
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
David Bear
mobile: (602) 903-6476
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Frank Kahle
2016-08-02 11:55:30 UTC
Permalink
Do you have a good doc that you can point me to?



Sincerely,
Frank



From: David Bear [mailto:***@gmail.com]
Sent: Saturday, July 30, 2016 10:46 PM
To: Frank Kahle <***@filecatalyst.com>
Cc: samba <***@lists.samba.org>
Subject: Re: [Samba] frustrations with shares



using posix acls?



On Wed, Jul 27, 2016 at 10:47 AM, Frank Kahle <***@filecatalyst.com <mailto:***@filecatalyst.com> > wrote:

I am trying to allow users with permissions in one group (DEV) to have full
access to a folder that is owned by (QA). I have not been able to figure
this out. Its running samba 4.2 in WORKGROUP mode (I can find everything
for domain but I am not ready for that). Its running on freebsd on the
latest nas4free build NAS with a ZFS file system..



Thanks in advance



Frank Kahle

FileCatalyst | Unlimi-Tech Software

Recipient of the 66th Annual Technology and Engineering EmmyR Award

+ 1 613 667 2439 ext 114 <tel:1%20613%20667%202439%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ext%20114>

1 877 327 9387 <tel:1%20877%20327%209387> NA toll-free

1 613 986 4896 <tel:1%20613%20986%204896> mobile



<http://www.filecatalyst.com> www.filecatalyst.com <http://www.filecatalyst.com>

1725 St. Laurent Blvd, #205

Ottawa, On

K1G 3V4



--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
David Bear

mobile: (602) 903-6476
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
L.P.H. van Belle
2016-08-02 13:42:05 UTC
Permalink
A "good" acl manual.
http://www.vanemery.com/Linux/ACL/linux-acl.html

As i do prefeer the debian os, but i do really like the archlinux wiki.
https://wiki.archlinux.org/index.php/Access_Control_Lists


Greetz,

Louis
-----Oorspronkelijk bericht-----
Verzonden: dinsdag 2 augustus 2016 13:55
Aan: 'David Bear'
CC: 'samba'
Onderwerp: Re: [Samba] frustrations with shares
Do you have a good doc that you can point me to?
Sincerely,
Frank
Sent: Saturday, July 30, 2016 10:46 PM
Subject: Re: [Samba] frustrations with shares
using posix acls?
I am trying to allow users with permissions in one group (DEV) to have full
access to a folder that is owned by (QA). I have not been able to figure
this out. Its running samba 4.2 in WORKGROUP mode (I can find everything
for domain but I am not ready for that). Its running on freebsd on the
latest nas4free build NAS with a ZFS file system..
Thanks in advance
Frank Kahle
FileCatalyst | Unlimi-Tech Software
Recipient of the 66th Annual Technology and Engineering EmmyR Award
+ 1 613 667 2439 ext 114
<tel:1%20613%20667%202439%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20e
xt%20114>
1 877 327 9387 <tel:1%20877%20327%209387>
NA toll-free
1 613 986 4896 <tel:1%20613%20986%204896>
mobile
<http://www.filecatalyst.com> www.filecatalyst.com
<http://www.filecatalyst.com>
1725 St. Laurent Blvd, #205
Ottawa, On
K1G 3V4
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
David Bear
mobile: (602) 903-6476
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Gaiseric Vandal
2016-08-03 17:45:05 UTC
Permalink
On Solaris at least , ZFS is using NFS acl's not posix. (not sure
how different the two are.) I did find that setting file permissions
in solaris wouldn't always behave as I expected. (Samba was compiled
with ZFS support.) Sometimes easier to make your self the owner of the
directory then set the permissions via windows.
Post by L.P.H. van Belle
A "good" acl manual.
http://www.vanemery.com/Linux/ACL/linux-acl.html
As i do prefeer the debian os, but i do really like the archlinux wiki.
https://wiki.archlinux.org/index.php/Access_Control_Lists
Greetz,
Louis
-----Oorspronkelijk bericht-----
Verzonden: dinsdag 2 augustus 2016 13:55
Aan: 'David Bear'
CC: 'samba'
Onderwerp: Re: [Samba] frustrations with shares
Do you have a good doc that you can point me to?
Sincerely,
Frank
Sent: Saturday, July 30, 2016 10:46 PM
Subject: Re: [Samba] frustrations with shares
using posix acls?
I am trying to allow users with permissions in one group (DEV) to have full
access to a folder that is owned by (QA). I have not been able to figure
this out. Its running samba 4.2 in WORKGROUP mode (I can find everything
for domain but I am not ready for that). Its running on freebsd on the
latest nas4free build NAS with a ZFS file system..
Thanks in advance
Frank Kahle
FileCatalyst | Unlimi-Tech Software
Recipient of the 66th Annual Technology and Engineering EmmyR Award
+ 1 613 667 2439 ext 114
<tel:1%20613%20667%202439%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20e
xt%20114>
1 877 327 9387 <tel:1%20877%20327%209387>
NA toll-free
1 613 986 4896 <tel:1%20613%20986%204896>
mobile
<http://www.filecatalyst.com> www.filecatalyst.com
<http://www.filecatalyst.com>
1725 St. Laurent Blvd, #205
Ottawa, On
K1G 3V4
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
David Bear
mobile: (602) 903-6476
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
L.P.H. van Belle
2016-08-04 06:33:26 UTC
Permalink
I dont know much about Solaris, but i found this.

There are problems with ACL's across platforms:
the uid has to match numerically
the gid has to match numerically
the NSF mount has to support the ACL operations, e.g., if the ACL grants write, but the remote file system is read-only then the ACL can not be honored.
See:
http://nfs.sourceforge.net/nfs-howto/ar01s06.html


Greetz,

Louis
-----Oorspronkelijk bericht-----
Verzonden: woensdag 3 augustus 2016 19:45
Onderwerp: Re: [Samba] frustrations with shares
On Solaris at least , ZFS is using NFS acl's not posix. (not sure
how different the two are.) I did find that setting file permissions
in solaris wouldn't always behave as I expected. (Samba was compiled
with ZFS support.) Sometimes easier to make your self the owner of the
directory then set the permissions via windows.
Post by L.P.H. van Belle
A "good" acl manual.
http://www.vanemery.com/Linux/ACL/linux-acl.html
As i do prefeer the debian os, but i do really like the archlinux wiki.
https://wiki.archlinux.org/index.php/Access_Control_Lists
Greetz,
Louis
-----Oorspronkelijk bericht-----
Verzonden: dinsdag 2 augustus 2016 13:55
Aan: 'David Bear'
CC: 'samba'
Onderwerp: Re: [Samba] frustrations with shares
Do you have a good doc that you can point me to?
Sincerely,
Frank
Sent: Saturday, July 30, 2016 10:46 PM
Subject: Re: [Samba] frustrations with shares
using posix acls?
I am trying to allow users with permissions in one group (DEV) to have full
access to a folder that is owned by (QA). I have not been able to
figure
Post by L.P.H. van Belle
this out. Its running samba 4.2 in WORKGROUP mode (I can find
everything
Post by L.P.H. van Belle
for domain but I am not ready for that). Its running on freebsd on the
latest nas4free build NAS with a ZFS file system..
Thanks in advance
Frank Kahle
FileCatalyst | Unlimi-Tech Software
Recipient of the 66th Annual Technology and Engineering EmmyR Award
+ 1 613 667 2439 ext 114
<tel:1%20613%20667%202439%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20e
Post by L.P.H. van Belle
xt%20114>
1 877 327 9387 <tel:1%20877%20327%209387>
NA toll-free
1 613 986 4896 <tel:1%20613%20986%204896>
mobile
<http://www.filecatalyst.com> www.filecatalyst.com
<http://www.filecatalyst.com>
1725 St. Laurent Blvd, #205
Ottawa, On
K1G 3V4
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
David Bear
mobile: (602) 903-6476
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Andrew Walker
2016-08-04 16:40:56 UTC
Permalink
"NFS" in this case is referring to NFSv4-style ACLs vs Posix-style ACLs. In
general, I believe the best way to manage ZFS ACLS is to enable the
"zfsacl" VFS module, chown the root directory of the share so that it's
owned the user you'll be doing admin from. Then in Windows File Explorer
navigate to \\<samba server>, right-click on the share, click properties,
click on the security tab, and fine-tune the ACL as needed.

Other methods of modifying ACLs on your NAS4Free server are the command
line utilities "smbcacls" and "setfacl", but using a windows client is
probably the best way of doing this. "getfacl" can be used to view ACLs.

Since you're dealing with ZFS ACLs, it might also be a good idea to set the
"aclmode" property of the dataset you're sharing via samba to "restricted".
The comand to do this is "zfs set aclmode=restricted <pool>/<dataset>"
(i.e. "zfs set aclmode=restricted Tank/Samba"). This will cause chmod to
return an error when used on any file or directory which has a non-trivial
ACL whose entries cannot be represented by a mode. In short, it prevents
chmod from breaking your ACLs.
Post by L.P.H. van Belle
I dont know much about Solaris, but i found this.
the uid has to match numerically
the gid has to match numerically
the NSF mount has to support the ACL operations, e.g., if the ACL grants
write, but the remote file system is read-only then the ACL can not be
honored.
http://nfs.sourceforge.net/nfs-howto/ar01s06.html
Greetz,
Louis
-----Oorspronkelijk bericht-----
Verzonden: woensdag 3 augustus 2016 19:45
Onderwerp: Re: [Samba] frustrations with shares
On Solaris at least , ZFS is using NFS acl's not posix. (not sure
how different the two are.) I did find that setting file permissions
in solaris wouldn't always behave as I expected. (Samba was compiled
with ZFS support.) Sometimes easier to make your self the owner of the
directory then set the permissions via windows.
Post by L.P.H. van Belle
A "good" acl manual.
http://www.vanemery.com/Linux/ACL/linux-acl.html
As i do prefeer the debian os, but i do really like the archlinux wiki.
https://wiki.archlinux.org/index.php/Access_Control_Lists
Greetz,
Louis
-----Oorspronkelijk bericht-----
Verzonden: dinsdag 2 augustus 2016 13:55
Aan: 'David Bear'
CC: 'samba'
Onderwerp: Re: [Samba] frustrations with shares
Do you have a good doc that you can point me to?
Sincerely,
Frank
Sent: Saturday, July 30, 2016 10:46 PM
Subject: Re: [Samba] frustrations with shares
using posix acls?
On Wed, Jul 27, 2016 at 10:47 AM, Frank Kahle <
I am trying to allow users with permissions in one group (DEV) to have full
access to a folder that is owned by (QA). I have not been able to
figure
Post by L.P.H. van Belle
this out. Its running samba 4.2 in WORKGROUP mode (I can find
everything
Post by L.P.H. van Belle
for domain but I am not ready for that). Its running on freebsd on the
latest nas4free build NAS with a ZFS file system..
Thanks in advance
Frank Kahle
FileCatalyst | Unlimi-Tech Software
Recipient of the 66th Annual Technology and Engineering EmmyR Award
+ 1 613 667 2439 ext 114
<tel:1%20613%20667%202439%20%20%20%20%20%20%20%20%20%20%20%
20%20%20%20%20e
Post by L.P.H. van Belle
xt%20114>
1 877 327 9387 <tel:1%20877%20327%209387>
NA toll-free
1 613 986 4896 <tel:1%20613%20986%204896>
mobile
<http://www.filecatalyst.com> www.filecatalyst.com
<http://www.filecatalyst.com>
1725 St. Laurent Blvd, #205
Ottawa, On
K1G 3V4
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
David Bear
mobile: (602) 903-6476
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Continue reading on narkive:
Loading...