On Mon, Nov 1, 2021 at 12:07 PM Jeremy Allison <jra at samba.org> wrote:> > Don't enable SMB1 unix extensions. Are you on Linux ? If so, > why not use bind mounts:So I looked into it deeper, I don't think we are actually using unix extensions. If there is some way to verify that, I will post the results. Some clients will be on linux, but most of this use case is for clients on Windows. I did try adding the following in the [global] block on our fileserver: follow symlinks = yes But when I try to follow a symlink to another share in Windows, I get a constant permission denied, despite being both the owner and part of the group that owns the folder, and setting the POSIX ACL for the user and group objects to rwx. Regards, Ralph
On Mon, 2021-11-01 at 16:31 -0400, ralph strebbing via samba wrote:> On Mon, Nov 1, 2021 at 12:07 PM Jeremy Allison <jra at samba.org> wrote: > > Don't enable SMB1 unix extensions. Are you on Linux ? If so, > > why not use bind mounts: > > So I looked into it deeper, I don't think we are actually using unix > extensions. If there is some way to verify that, I will post the > results.Unless you have set 'unix extensions = no' , then you are using unix extensions, it defaults to 'unix extensions = yes'.> > Some clients will be on linux, but most of this use case is for > clients on Windows. > > I did try adding the following in the [global] block on our > fileserver: > follow symlinks = yesThat wouldn't help, it is the default.> > But when I try to follow a symlink to another share in Windows, I get > a constant permission denied, despite being both the owner and part > of > the group that owns the folder, and setting the POSIX ACL for the > user > and group objects to rwx.Ah, but you appear to be using ZFS, but what on ? It will help if you post more info, what OS, what is in your smb.conf, what permissions are set on the share. Rowland
On Mon, Nov 01, 2021 at 04:31:36PM -0400, ralph strebbing wrote:>On Mon, Nov 1, 2021 at 12:07 PM Jeremy Allison <jra at samba.org> wrote: >> >> Don't enable SMB1 unix extensions. Are you on Linux ? If so, >> why not use bind mounts: > >So I looked into it deeper, I don't think we are actually using unix >extensions. If there is some way to verify that, I will post the >results.If you are using SMB2 and not SMB1 (the default) then you are not using unix extensions.>Some clients will be on linux, but most of this use case is for >clients on Windows.Clients are irrelevent. As Rowland said, what I'm asking is what platform the Samba *server* is running on. If it's Linux, then you can do what you want (make a different area of a filesystem appear under a share) using bind mounts.