Re: [PATCH v2] ksmb: discard write access to the directory open

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/5/24 5:27 AM, Hobin Woo wrote:
may_open() does not allow a directory to be opened with the write access.
However, some writing flags set by client result in adding write access
on server, making ksmbd incompatible with FUSE file system. Simply, let's
discard the write access when opening a directory.

afair this should cause a failure like EACCESS or EISDIR and just be ignored. What does a Windows server return in this case, or Samba for that matter as it (hopefully) will behave like Windows.

-slow

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux