Pavel Shilovsky [off-list ref] writes:
It is not only about writing to a locked file. It is also about any IO
against a locked file if such a file is locked through another file
handle. Right?
Yes that was implied, the write was a simple example to illustrate. I'll
update to make it more generic:
Another important side-effect is that the locks are not advisory anymore:
any IO on a locked file will always fail with EACCES,
even when done from a separate file descriptor.
If you have comments please provide direct text suggestion to save time.
Cheers,
--
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)