]> TLD Linux GIT Repositories - packages/pure-ftpd.git/blob - pure-ftpd-config.patch
- add CAP_DAC_OVERRIDE
[packages/pure-ftpd.git] / pure-ftpd-config.patch
1 diff -ur pure-ftpd-1.0.49.orig/pure-ftpd.conf.in pure-ftpd-1.0.49/pure-ftpd.conf.in
2 --- pure-ftpd-1.0.49.orig/pure-ftpd.conf.in     2019-03-25 16:48:42.000000000 +0100
3 +++ pure-ftpd-1.0.49/pure-ftpd.conf.in  2019-08-25 23:33:33.734000000 +0200
4 @@ -9,7 +9,7 @@
5  # instead of command-line options, please run the
6  # following command :
7  #
8 -# @sbindir@/sbin/pure-ftpd @sysconfdir@/pure-ftpd.conf
9 +# @sbindir@/sbin/pure-ftpd @sysconfdir@/pure-ftpd/pure-ftpd.conf
10  #
11  # Online documentation:
12  # https://www.pureftpd.org/project/pure-ftpd/doc
13 @@ -106,23 +106,23 @@
14  
15  # LDAP configuration file (see README.LDAP)
16  
17 -# LDAPConfigFile               /etc/pureftpd-ldap.conf
18 +# LDAPConfigFile               /etc/pure-ftpd/pureftpd-ldap.conf
19  
20  
21  
22  # MySQL configuration file (see README.MySQL)
23  
24 -# MySQLConfigFile              /etc/pureftpd-mysql.conf
25 +# MySQLConfigFile              /etc/pure-ftpd/pureftpd-mysql.conf
26  
27  
28  # PostgreSQL configuration file (see README.PGSQL)
29  
30 -# PGSQLConfigFile              /etc/pureftpd-pgsql.conf
31 +# PGSQLConfigFile              /etc/pure-ftpd/pureftpd-pgsql.conf
32  
33  
34  # PureDB user database (see README.Virtual-Users)
35  
36 -# PureDB                       /etc/pureftpd.pdb
37 +# PureDB                       /etc/pure-ftpd/pureftpd.pdb
38  
39  
40  # Path to pure-authd socket (see README.Authentication-Modules)
41 @@ -156,6 +156,7 @@
42  
43  # 'ls' recursion limits. The first argument is the maximum number of
44  # files to be displayed. The second one is the max subdirectories depth.
45 +# If LimitRecursion is not present default is 2000 5
46  
47  LimitRecursion               10000 8
48  
49 @@ -277,7 +278,7 @@
50  
51  # Prevent anonymous users from uploading new files (no = upload is allowed)
52  
53 -AnonymousCantUpload          no
54 +AnonymousCantUpload          yes
55  
56  
57  
58 @@ -436,7 +437,7 @@
59  # CertFile is for a cert+key bundle, CertFileAndKey for separate files.
60  # Use only one of these.
61  
62 -# CertFile                     /etc/ssl/private/pure-ftpd.pem
63 +# CertFile                     /etc/pure-ftpd/ssl/private/pure-ftpd.pem
64  # CertFileAndKey               "/etc/pure-ftpd.pem" "/etc/pure-ftpd.key"
65  
66