[Pkg-samba-maint] [Bug 5994] mount.cifs: brl option does not produce documented semantics for fcntl(F_SETLK)
samba-bugs at samba.org
samba-bugs at samba.org
Sun Dec 8 03:24:44 GMT 2019
https://bugzilla.samba.org/show_bug.cgi?id=5994
--- Comment #6 from Andrew N. <anot at onet.pl> ---
Looks like this issue was not fixed by now (Ubuntu bionic 18.04.3)
Same behavior as described with sqlite3 and strace:
...
fcntl(3, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=1073741824,
l_len=1}) = 0
fcntl(3, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=1073741826,
l_len=510}) = -1 EACCES (Permission denied)
the second one fcntl works fine on local filesystem but not on cifs 2.10,
kernel 4.15.0-72
The workaround is to mount samba share with nobrl option
Please adjust status of this issue, this should be CONFIRMED
--
You are receiving this mail because:
You reported the bug.
More information about the Pkg-samba-maint
mailing list