[PATCH][SMB3] fix stat when special device file and mounted with modefromsid

Steve French smfrench at gmail.com
Wed Oct 21 05:21:04 UTC 2020


We probably should if we could create special files to Windows using
reparse points (or just set them up manually).  I created these by
doing mknod and mkfifo over NFS to Windows and then doing directory
listings and stat over SM3 mounts

On Tue, Oct 20, 2020 at 11:19 PM ronnie sahlberg
<ronniesahlberg at gmail.com> wrote:
>
> Receiver-by me.
>
> Should we set up a test for this in the buildbot?
>
> On Wed, Oct 21, 2020 at 2:05 PM Steve French via samba-technical
> <samba-technical at lists.samba.org> wrote:
> >
> > When mounting with modefromsid mount option, it was possible to
> > get the error on stat of a fifo or char or block device:
> >         "cannot stat <filename>: Operation not supported"
> >
> > Special devices can be stored as reparse points by some servers
> > (e.g. Windows NFS server and when using the SMB3.1.1 POSIX
> > Extensions) but when the modefromsid mount option is used
> > the client attempts to get the ACL for the file which requires
> > opening with OPEN_REPARSE_POINT create option.
> >
> >
> >
> > --
> > Thanks,
> >
> > Steve



-- 
Thanks,

Steve



More information about the samba-technical mailing list