Actions
Bug #48863
closedcephfs-shell should allow changing all mode bits
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-shell
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Currently, cephfs-shell says:
CephFS:~/>>> chmod 01777 scratch usage: chmod [-h] mode paths [paths ...] chmod: error: invalid mode: 01777 mode cannot be greater than octal 0777
What that should probably do is just not allow you to change anything that's in the S_IFMT mask (see /usr/include/linux/stat.h).
Actions