Feature #38740
cephfs-shell: support mkdir with non-octal mode
% Done:
0%
Source:
Development
Tags:
Backport:
nautilus
Reviewed:
Description
CephFS:~/>>> mkdir -m rw- d2 invalid literal for int() with base 8: 'rw-' Traceback (most recent call last): File "../src/tools/cephfs/cephfs-shell", line 367, in onecmd res = Cmd.onecmd(self, line) File "/usr/lib/python3.7/site-packages/cmd2.py", line 2672, in onecmd stop = func(statement) File "/usr/lib/python3.7/site-packages/cmd2.py", line 496, in cmd_wrapper return func(instance, args) File "../src/tools/cephfs/cephfs-shell", line 407, in do_mkdir permission = int(args.mode, 8) ValueError: invalid literal for int() with base 8: 'rw-'
Related issues
History
#1 Updated by Patrick Donnelly about 5 years ago
- Tracker changed from Bug to Feature
- Subject changed from cephfs-shell: python traceback with mkdir with non-octal mode to cephfs-shell: support mkdir with non-octal mode
- Description updated (diff)
- Assignee set to Milind Changire
- Target version set to v15.0.0
- Start date deleted (
03/14/2019) - Source set to Development
- Backport set to nautilus
#2 Updated by Milind Changire almost 5 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 27235
updated with PR number
#3 Updated by Patrick Donnelly almost 5 years ago
- Status changed from Fix Under Review to Pending Backport
#4 Updated by Nathan Cutler almost 5 years ago
- Copied to Backport #39378: nautilus: cephfs-shell: support mkdir with non-octal mode added
#5 Updated by Nathan Cutler almost 5 years ago
- Status changed from Pending Backport to Resolved