Hi, Do you know the share type on Domain and this specific case? In https://wiki.samba.org/ See: Setting up a Share Using POSIX ACLs - SambaWiki <https://wiki.samba.org/index.php/Setting_up_a_Share_Using_POSIX_ACLs> and Setting up a Share Using Windows ACLs - SambaWiki <https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs> SH On 29/07/2025 17.21, Matthew Richardson via samba wrote:> Hi, > > I'm currently investigating using the smb3 unix extensions. I can > list/stat special files in the samba mount, and can create and delete > 'ordinary' files, but when I try to create special files I get an error: > > $ ln -s b.txt sym_b > ln: failed to create symbolic link 'a.sym': Operation not supported > > or > > $ mkfifo b.fifo > mkfifo: cannot create fifo 'b.fifo': Operation not supported > > > My test setup is as follows: > > Samba - Docker samba.org/samba-server:devbuilds-centos-amd64 > (publishing to host port 445) > Host Ubuntu Noble with kernel 6.15.7 (cifs.ko v2.54) > cifs-utils v7.0 > > > Samba config: > > [global] > ?? workgroup = WORKGROUP > ?? security = user > ?? map to guest = never > ?? log level = 3 > ?? guest ok = no > ?? smb3 unix extensions = yes > > [myshare] > ?? path = /opt/smb > ?? browsable = yes > ?? writable = yes > ?? read only = no > ?? valid users = sambauser #uid/gid 1000 > ?? create mask = 0777 > ?? directory mask = 0777 > > > I'm mounting the share as follows: > > mount -t cifs //localhost/myshare /mnt -o > user=sambauser,pass=samba,unix,uid=1000,gid=1000 > > Resulting in mount: > //localhost/myshare on /mnt type cifs > (rw,relatime,vers=3.1.1,cache=strict,upcall_target=app,username=sambauser,uid=1000,forceuid,gid=1000,forcegid,addr=127.0.0.1,file_mode=0755,dir_mode=0755,soft,posix,posixpaths,serverino,mapposix,reparse=nfs,nativesocket,symlink=unix,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1) > > There's nothing immediately obvious in the server logs which might add > more information. > > I'm not sure if I'm missing something in my config that is limiting > the creation of special files, or if this is a limitation in the > current development of the smb3 unix extensions code, and I just need > to be patient. > > Any advice appreciated! > > Thanks, > > Matthew >-- Sami Hulkko +358 45 8569 319 sahulkko at gmail.com sahulkko at icloud.com
Luis Peromarta
2025-Jul-30 14:12 UTC
[Samba] SMB3 Unix Extensions - creating special files
Hi. Could you elaborate a bit more on this ? What is your question? On 30 Jul 2025 at 15:54 +0200, Sami Hulkko via samba <samba at lists.samba.org>, wrote:> Hi, > > Do you know the share type on Domain and this specific case? > > In https://wiki.samba.org/ See: > > Setting up a Share Using POSIX ACLs - SambaWiki > <https://wiki.samba.org/index.php/Setting_up_a_Share_Using_POSIX_ACLs> > > and > > Setting up a Share Using Windows ACLs - SambaWiki > <https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs> > > SH > > On 29/07/2025 17.21, Matthew Richardson via samba wrote: > > Hi, > > > > I'm currently investigating using the smb3 unix extensions. I can > > list/stat special files in the samba mount, and can create and delete > > 'ordinary' files, but when I try to create special files I get an error: > > > > $ ln -s b.txt sym_b > > ln: failed to create symbolic link 'a.sym': Operation not supported > > > > or > > > > $ mkfifo b.fifo > > mkfifo: cannot create fifo 'b.fifo': Operation not supported > > > > > > My test setup is as follows: > > > > Samba - Docker samba.org/samba-server:devbuilds-centos-amd64 > > (publishing to host port 445) > > Host Ubuntu Noble with kernel 6.15.7 (cifs.ko v2.54) > > cifs-utils v7.0 > > > > > > Samba config: > > > > [global] > > ?? workgroup = WORKGROUP > > ?? security = user > > ?? map to guest = never > > ?? log level = 3 > > ?? guest ok = no > > ?? smb3 unix extensions = yes > > > > [myshare] > > ?? path = /opt/smb > > ?? browsable = yes > > ?? writable = yes > > ?? read only = no > > ?? valid users = sambauser #uid/gid 1000 > > ?? create mask = 0777 > > ?? directory mask = 0777 > > > > > > I'm mounting the share as follows: > > > > mount -t cifs //localhost/myshare /mnt -o > > user=sambauser,pass=samba,unix,uid=1000,gid=1000 > > > > Resulting in mount: > > //localhost/myshare on /mnt type cifs > > (rw,relatime,vers=3.1.1,cache=strict,upcall_target=app,username=sambauser,uid=1000,forceuid,gid=1000,forcegid,addr=127.0.0.1,file_mode=0755,dir_mode=0755,soft,posix,posixpaths,serverino,mapposix,reparse=nfs,nativesocket,symlink=unix,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1) > > > > There's nothing immediately obvious in the server logs which might add > > more information. > > > > I'm not sure if I'm missing something in my config that is limiting > > the creation of special files, or if this is a limitation in the > > current development of the smb3 unix extensions code, and I just need > > to be patient. > > > > Any advice appreciated! > > > > Thanks, > > > > Matthew > > > -- > Sami Hulkko > +358 45 8569 319 > sahulkko at gmail.com > sahulkko at icloud.com > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba