summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorCsaba Henk <csaba@redhat.com>2020-04-21 23:55:46 +0200
committerAmar Tumballi <amar@kadalu.io>2020-06-03 02:25:21 +0000
commit443e8d8e6fe8c12f6872717710855390a584ef53 (patch)
treee0ce1ded0ee160c0457b818018afdb4a4d3acdaa /rpc
parent8972bf7fd15fb2780db1022c06daa2f88ad63d46 (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 'rpc')
0 files changed, 0 insertions, 0 deletions