This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
vsftpd [2009/06/12 08:47] k2patel |
vsftpd [2010/05/20 22:47] k2patel |
||
---|---|---|---|
Line 81: | Line 81: | ||
</code> | </code> | ||
- | Additional Log options | + | Additional Log options, you would like to add to above config i have added |
<code bash> | <code bash> | ||
Line 92: | Line 92: | ||
* create directory "/etc/vsftpd/vsftpd_user_conf" | * create directory "/etc/vsftpd/vsftpd_user_conf" | ||
* create file "/etc/vsftpd/vsftpd_user_conf/www" | * create file "/etc/vsftpd/vsftpd_user_conf/www" | ||
+ | |||
+ | NOTE : now we are overriding all disabled options for each user. (if not you will be denied for anything LOL) | ||
<code bash | /etc/vsftpd/vsftpd_user_conf/www> | <code bash | /etc/vsftpd/vsftpd_user_conf/www> | ||
Line 97: | Line 99: | ||
dirlist_enable=YES | dirlist_enable=YES | ||
download_enable=YES | download_enable=YES | ||
+ | anon_upload_enable=YES | ||
+ | anon_other_write_enable=YES | ||
+ | anon_mkdir_write_enable=YES | ||
local_root=/var/www/html | local_root=/var/www/html | ||
</code> | </code> | ||
Line 129: | Line 134: | ||
download_enable=YES | download_enable=YES | ||
write_enable=YES | write_enable=YES | ||
+ | anon_upload_enable=YES | ||
+ | anon_other_write_enable=YES | ||
+ | anon_mkdir_write_enable=YES | ||
</code> | </code> | ||
+ | |||
+ | * If you see permission 600 and you have issue with that permission and not able to chmod. try following additional lines. | ||
+ | |||
+ | <code bash | /etc/vsftpd/vsftpd_user_conf/username2> | ||
+ | chmod_enable=YES | ||
+ | virtual_use_local_privs=YES | ||
+ | </code> | ||
+ | |||
+ | NOTE : any change to user setting does not require restart - but new ftp connection needed. | ||
+ | |||
+ | Some use full link : \\ | ||
+ | [[ http://kbase.redhat.com/faq/docs/DOC-6202 | user permission fix ]] | ||
DONE | DONE |