summaryrefslogtreecommitdiffstats
path: root/setup-fastback-server
diff options
context:
space:
mode:
Diffstat (limited to 'setup-fastback-server')
-rwxr-xr-xsetup-fastback-server40
1 files changed, 0 insertions, 40 deletions
diff --git a/setup-fastback-server b/setup-fastback-server
deleted file mode 100755
index 1b36dc1..0000000
--- a/setup-fastback-server
+++ /dev/null
@@ -1,40 +0,0 @@
-# run this as root on the machine you want to setup as your
-# test FTP anonymous server
-
-yum install -y vsftpd
-mkdir -p /var/ftp/incoming
-chown ftp:ftp /var/ftp/incoming
-patch -p0 <<\EOF
---- /etc/vsftpd/vsftpd.conf 2009-06-02 05:25:07.000000000 -0400
-+++ vsftpd.conf 2009-08-18 09:06:36.000000000 -0400
-@@ -15,7 +15,7 @@
- #local_enable=YES
- #
- # Uncomment this to enable any form of FTP write command.
--#write_enable=YES
-+write_enable=YES
- #
- # Default umask for local users is 077. You may wish to change this to 022,
- # if your users expect that (022 is used by most other ftpd's)
-@@ -24,7 +24,7 @@
- # Uncomment this to allow the anonymous FTP user to upload files. This only
- # has an effect if the above global write enable is activated. Also, you will
- # obviously need to create a directory writable by the FTP user.
--#anon_upload_enable=YES
-+anon_upload_enable=YES
- #
- # Uncomment this if you want the anonymous FTP user to be able to create
- # new directories.
-@@ -115,3 +115,9 @@
- pam_service_name=vsftpd
- userlist_enable=YES
- tcp_wrappers=YES
-+
-+#
-+# taken from DropboxDocument
-+dirlist_enable=NO
-+download_enable=NO
-+dirmessage_enable=YES
-EOF
-
-service vsftpd restart