add umask config
This commit is contained in:
parent
2df3d1d3d8
commit
77b65574da
@ -1,9 +0,0 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
indent_style = space
|
||||
indent_size = 4
|
@ -8,6 +8,11 @@ File access with [ProFTPD](http://www.proftpd.org/) over sftp and a static user/
|
||||
## SERVER_NAME
|
||||
Name displayed to connecting users.
|
||||
|
||||
## UMASK
|
||||
- default: 006 007
|
||||
|
||||
Umask to use for files.
|
||||
|
||||
## STATIC_USER
|
||||
A static username for authentication.
|
||||
|
||||
|
@ -5,7 +5,7 @@ ServerType standalone
|
||||
DefaultServer on
|
||||
Port 22
|
||||
UseIPv6 off
|
||||
Umask 006 007
|
||||
Umask {{ getenv "UMASK" "006 007" }}
|
||||
MaxInstances 30
|
||||
User proftpd
|
||||
Group proftpd
|
||||
|
@ -1 +1 @@
|
||||
/var/lib/ftp/data/ true proftpd:access 0664 0775
|
||||
/var/lib/ftp/data/ true proftpd:access 0666 0777
|
||||
|
Loading…
Reference in New Issue
Block a user