Re: SMB3 Unix Extensions - creating special files

Jeremy Allison via samba <[email protected]> Mon, 9 Mar 2026 07:39:30 -0700
Newsgroups gmane.network.samba.general
Message-ID <aa7bomoQ9Z60the_@jeremy-HP-Z840-Workstation>
On Mon, Mar 09, 2026 at 11:09:31AM +0000, Matthew Richardson via samba wrote:
>https://lists.samba.org/archive/samba/2025-July/251886.html
>
>An example with FIFOs:
>However FIFOs created from samba aren't 'real' FIFOs:
>
>/mnt/smb > mkfifo smb_fifo
>> stat smb_fifo
>  File: smb_fifo
>  Size: 1024            Blocks: 0          IO Block: 16384  fifo
>Device: 0,114   Inode: 1099511630035  Links: 1
>
>However again on the real FS the FIFO is actually an empty file with 
>attr metadata:

Yes, this is by design in the Samba implementation.

>/mnt/real > stat smb_fifo
>stat smb_fifo
>  File: smb_fifo
>  Size: 0               Blocks: 0          IO Block: 4194304 regular 
>empty file
>Device: 30h/48d Inode: 1099511630035  Links: 1
>
>/mnt/real > getfattr smb_fifo
># file: smb_fifo
>user.DOSATTRIB
>user.NTACL
>user.SmbReparse

Again, by design in the Samba implementation.

We don't want clients creating "special" files on the server.

Other implementations could make different choices.

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