diff options
author | Csaba Henk <csaba@redhat.com> | 2020-04-21 23:55:46 +0200 |
---|---|---|
committer | Amar Tumballi <amar@kadalu.io> | 2020-06-03 02:25:21 +0000 |
commit | 443e8d8e6fe8c12f6872717710855390a584ef53 (patch) | |
tree | e0ce1ded0ee160c0457b818018afdb4a4d3acdaa /xlators/performance/readdir-ahead | |
parent | 8972bf7fd15fb2780db1022c06daa2f88ad63d46 (diff) |
meta: indicate writability of tunables in file mode
All files under .meta (synthetic subtree facilitating
reflection for glusterfs clients, implemented by meta
xlator) were shown as writable, but the vast majority of
them are usable only for querying parameters or stats, not
for setting them. (The exceptions are loglevel and
measure_latency.)
However, one could only find out about this only by trial
and error, or reading the code.
With this change we align file permissions with
tunability, stripping the writable bits for those nodes
which are only for querying.
Also strip writable bits from directory permissions.
updates: #1000
Change-Id: I82954e165ffc31cdf7307f4d990ef60b8154a2e2
Signed-off-by: Csaba Henk <csaba@redhat.com>
Diffstat (limited to 'xlators/performance/readdir-ahead')
0 files changed, 0 insertions, 0 deletions