]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
dokan: Made file/dir access mode configurable 49280/head
authorStefan Chivu <schivu@cloudbasesolutions.com>
Mon, 28 Nov 2022 15:24:08 +0000 (17:24 +0200)
committerStefan Chivu <schivu@cloudbasesolutions.com>
Mon, 5 Dec 2022 09:21:47 +0000 (11:21 +0200)
commit6688c4786c14780af8ab5fdd480c10efc29803c1
treec41244de27bfcf5b7c8b31481d48b8c50d327b95
parentaba5c2a36888b20f2bf5cd12f01c023e0ece4885
dokan: Made file/dir access mode configurable

By default, when mounting a filesystem using ceph-dokan, the file
and directory access modes were hardcoded as 755.

Now, both the file and directory access modes are configurable
using the --file-mode and --dir-mode optargs, accepting values
ranging from 001 to 777.

If no value is specified, the default value of 755 will be used.

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
src/dokan/ceph_dokan.cc
src/dokan/ceph_dokan.h
src/dokan/options.cc