Project

General

Profile

Feature #38740

Updated by Patrick Donnelly about 2 years ago

<pre>
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-'
</pre>

Back