diff --git a/configs/ncsambawatcher.config.default b/configs/ncsambawatcher.config.default new file mode 100644 index 0000000..93e4ee9 --- /dev/null +++ b/configs/ncsambawatcher.config.default @@ -0,0 +1 @@ +NEXTCLOUD_CONTAINER_NAME=nextcloud diff --git a/configs/smb.24.04.conf b/configs/smb.24.04.conf index 78643cd..13bce10 100644 --- a/configs/smb.24.04.conf +++ b/configs/smb.24.04.conf @@ -1,5 +1,4 @@ [global] - vfs objects = full_audit full_audit:prefix = %u|%I|%m|%S full_audit:success = mkdirat unlinkat renameat write @@ -7,12 +6,43 @@ full_audit:facility = local5 full_audit:priority = NOTICE -# Put this line only for the groupfolder's share -[Some gorupfolder share] +# Example usershare +[] #CHANGEME + path = /path/to/nextcloud/data//files/ #CHANGEME + valid users = #CHANGEME + force user = www-data + force group = www-data + create mask = 0755 + force create mode = 0755 + directory mask = 0755 + force directory mode = 0755 + guest ok = no + public = no + writable = yes + browsable = yes + hide dot files = no + inherit owner = yes + hide unreadable = no - full_audit:prefix = %u|%I|%m|__groupfolders/ +# Example groupfolder share +[Sharename] + path = /path/to/nextcloud/data/__groupfolders/ #CHANGEME + valid users = usernames #CHANGEME + force user = www-data + force group = www-data + create mask = 0755 + force create mode = 0755 + directory mask = 0755 + force directory mode = 0755 + guest ok = no + public = no + writable = yes + browsable = yes + hide dot files = no + inherit owner = yes + hide unreadable = no + full_audit:prefix = %u|%I|%m|__groupfolders/ #CHANGEME -# To disable logs for a specific share -[A share] - - vfs objects = \ No newline at end of file +# To disable logs for a specific share, add this line to that share +[Sharename] + vfs objects = \ No newline at end of file