Modify config files
This commit is contained in:
1
configs/ncsambawatcher.config.default
Normal file
1
configs/ncsambawatcher.config.default
Normal file
@@ -0,0 +1 @@
|
|||||||
|
NEXTCLOUD_CONTAINER_NAME=nextcloud
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
[global]
|
[global]
|
||||||
|
|
||||||
vfs objects = full_audit
|
vfs objects = full_audit
|
||||||
full_audit:prefix = %u|%I|%m|%S
|
full_audit:prefix = %u|%I|%m|%S
|
||||||
full_audit:success = mkdirat unlinkat renameat write
|
full_audit:success = mkdirat unlinkat renameat write
|
||||||
@@ -7,12 +6,43 @@
|
|||||||
full_audit:facility = local5
|
full_audit:facility = local5
|
||||||
full_audit:priority = NOTICE
|
full_audit:priority = NOTICE
|
||||||
|
|
||||||
# Put this line only for the groupfolder's share
|
# Example usershare
|
||||||
[Some gorupfolder share]
|
[<username>] #CHANGEME
|
||||||
|
path = /path/to/nextcloud/data/<username>/files/ #CHANGEME
|
||||||
|
valid users = <username> #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/<group-folders-id>
|
# Example groupfolder share
|
||||||
|
[Sharename]
|
||||||
|
path = /path/to/nextcloud/data/__groupfolders/<groupfolder-id> #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/<groupfolder-id> #CHANGEME
|
||||||
|
|
||||||
# To disable logs for a specific share
|
# To disable logs for a specific share, add this line to that share
|
||||||
[A share]
|
[Sharename]
|
||||||
|
vfs objects =
|
||||||
vfs objects =
|
|
||||||
Reference in New Issue
Block a user