]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/smb: update fs.py to request all caps for the cephfs volume 64641/head
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 15 Jan 2026 15:17:06 +0000 (10:17 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 25 Mar 2026 14:22:46 +0000 (10:22 -0400)
Update the authorizer class in fs.py to request all caps (*) for our
volume. This is necessary in order to make use of the fscrypt feature
from smbd.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/fs.py

index dc9613f21fced4f1d4af8670b9b3c835d416fd20..ee968cf75e435dab7f9abdd92901551d38c35fb7 100644 (file)
@@ -32,7 +32,7 @@ class FileSystemAuthorizer:
         # to have more restricted defaults in the future
         assert entity.startswith('client.')
         if not caps:
-            caps = ['/', 'rw']
+            caps = ['/', '*']
         cmd = {
             'prefix': 'fs authorize',
             'filesystem': volume,