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

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

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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smb3-fix-stat-when-special-device-file-and-mounted-w.patch
Type: text/x-patch
Size: 1473 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20201020/f738fb37/0001-smb3-fix-stat-when-special-device-file-and-mounted-w.bin>

More information about the samba-technical mailing list