bb37a1c1ce
added matching permissions too and a new setting "setstat_mode". Setting setstat_mode to 1 you can keep the previous behaviour that silently ignore setstat requests
49 lines
994 B
JSON
49 lines
994 B
JSON
{
|
|
"sftpd": {
|
|
"bind_port": 2022,
|
|
"bind_address": "",
|
|
"idle_timeout": 15,
|
|
"max_auth_tries": 0,
|
|
"umask": "0022",
|
|
"banner": "",
|
|
"upload_mode": 0,
|
|
"actions": {
|
|
"execute_on": [],
|
|
"command": "",
|
|
"http_notification_url": ""
|
|
},
|
|
"keys": [],
|
|
"enable_scp": false,
|
|
"kex_algorithms": [],
|
|
"ciphers": [],
|
|
"macs": [],
|
|
"login_banner_file": "",
|
|
"setstat_mode": 0
|
|
},
|
|
"data_provider": {
|
|
"driver": "sqlite",
|
|
"name": "sftpgo.db",
|
|
"host": "",
|
|
"port": 5432,
|
|
"username": "",
|
|
"password": "",
|
|
"sslmode": 0,
|
|
"connection_string": "",
|
|
"users_table": "users",
|
|
"manage_users": 1,
|
|
"track_quota": 2,
|
|
"pool_size": 0,
|
|
"users_base_dir": "",
|
|
"actions": {
|
|
"execute_on": [],
|
|
"command": "",
|
|
"http_notification_url": ""
|
|
}
|
|
},
|
|
"httpd": {
|
|
"bind_port": 8080,
|
|
"bind_address": "127.0.0.1",
|
|
"templates_path": "templates",
|
|
"static_files_path": "static"
|
|
}
|
|
}
|