![]() ![]() # recommended for security (the code is non-trivial). # Enable this and the server will recognise asynchronous ABOR requests. # ftp server can use as a totally isolated and unprivileged user. # It is recommended that you define on your system a unique user which the # You may change the default value for timing out a data connection. # You may change the default value for timing out an idle session. # NO writes to vsftpd_log_file, YES to xferlog_file # Switches between logging into vsftpd_log_file and xferlog_file files. # WARNING - changing this filename affects /etc/logrotate.d/vsftpd.log # The name of log file when xferlog_enable=YES and xferlog_std_format=YES ![]() Note! Using "root" for uploaded files is not # If you want, you can arrange for uploaded anonymous files to be owned by # Make sure PORT transfer connections originate from port 20 (ftp-data). # This depends on setting xferlog_std_format parameter # The target log file can be vsftpd_log_file or xferlog_file. # Activate directory messages - messages given to remote users when they # Uncomment this if you want the anonymous FTP user to be able to create # obviously need to create a directory writable by the FTP user. # has an effect if the above global write enable is activated. # Uncomment this to allow the anonymous FTP user to upload files. # if your users expect that (022 is used by most other ftpd's) # Uncomment this to enable any form of FTP write command. # Uncomment this to allow local users to log in. # Allow anonymous FTP? (Beware - allowed by default if you comment this out). ![]() # Please read the nf.5 manual page to get a full idea of vsftpd's # READ THIS: This example file is NOT an exhaustive list of vsftpd options. # Please see nf.5 for all compiled in defaults. # loosens things up a bit, to make the ftp daemon more usable. # The default compiled in settings are fairly paranoid. Here is my nf file can someone check it to see if i made any errors in thereĮxample config file /etc/vsftpd/nf rw-r- 1 root root 460 Nov 24 22:08 /home/test/public_html/index.html ĭrwx-r-x 2 root root 4096 Nov 24 22:14 ~]# ls -la /home/test/public_html/index.html ĭrwxrwx- 2 root ftpusers 4096 Nov 24 16:25 ftptestĭrwxrw- 2 root ftpusers 4096 Nov 23 14:56 ftpuserĭrwx- 2 root root 16384 Nov 22 13:11 lost+foundĭrwxr-xr-x 3 root ftpusers 4096 Nov 24 21:02 testĪlso the root directory where the web pages are served from is called public_html here are the ~]# ls -la /home/testĭrwxr-xr-x 3 root ftpusers 4096 Nov 24 21:02. have a look an tell me where i went wrong ~]# ls -la /homeĭrwxr-xr-x 6 root root 4096 Nov 23 21:08. I'm confused, dont know where i went wrong, i put the users in a group called ftpusers and here are the permissions on the users (test, ftpuser & testftp) home directory. I have searched online for similar problems like mine and so far i've tried alot of the solution but none seem to work. So far i have been able to serve/display index.html files from the users home directory () but so far i cant upload files to any user home directory, every time i try to upload a file with filezilla i get this error message: 553 Could not create file. I am now trying to setup a VSFTP server where local users can upload files to there home directory so that Apache can serve web pages straight from the directories of system user home/accounts giving users the ability to run their own web sites which are hosted off the main server I've setup a Lamp Server for Testing, The Lamp Server is Up & Running on CentOs 5.5 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |