Page 1 of 1

Anonymous FTP

PostPosted: Fri Aug 22, 2014 5:13 pm
by Ashly vincent
How can i change the document root of ftp server?

Re: Anonymous FTP

PostPosted: Sat Aug 23, 2014 2:30 pm
by deepak
1) Add the following line in the /etc/vsftpd/vsftpd.conf file

anon_root=/directory

2) semange fcontext -a -t public_content_t "/directory(/.*)?"

3) restorecon -RF /directory