]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: switch to clear_suid_sgid for _write()
authorXiubo Li <xiubli@redhat.com>
Tue, 14 Feb 2023 11:16:07 +0000 (19:16 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 14 Mar 2023 14:54:05 +0000 (22:54 +0800)
commit2f9d9b9ccc0f916b09fc048a012a8884c3a90cc6
treec6298f1733b791d6bd33810aea934f18c6b3a42c
parent1a56bf2ce754fb2e7baf445be1f46c1a6ed6adc0
client: switch to clear_suid_sgid for _write()

Currently the write will clear the suid/sgid always even the
privileged users are writing the file. This isn't consistent with
all the other existing filesystems in Linux.

Fixes: https://tracker.ceph.com/issues/58680
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/client/Client.cc