On Tue, Oct 1, 2019 at 9:10 AM khaled atteya <khaled.att...@gmail.com> wrote:
>
> Hi,
>
> Is it possible to do this scenario :
> If one open a file first , he will get read/write permissions  and other will 
> get read-only permission if they open the file after the first one.

CephFS will follow POSIX. If a client requests an exclusive write lock
than no one else will be able to get a write lock. This does not mean
that other clients will automatically receive a read-only lock, it
depends on the client if it will fall back to read-only or fail if it
can't get a write lock.

----------------
Robert LeBlanc
PGP Fingerprint 79A2 9CA4 6CC4 45DD A904  C70E E654 3BB2 FA62 B9F1
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to