vsftpd config - quick question
Hi All
We have Oracle Linux Enterprise 5 running. We like to configure vsftpd so that users can download from the web browser. We have a NFS path that we set in vsftpd.conf but for unclear reason it keeps using /var/ftp using ftp://hostname.pa.com in the web browser. [root@hostname ~]# grep ftp /etc/passwd ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin confirms it. But we thought we could change the default path easily in vsftpd.conf with using either one below. local_root=/scratch/builds anon_root=/scratch/builds /scratch/builds is a NFS directory [root@hostname ~]# ls -ld /scratch/builds drwxrwxrwx 2 4294794 bin 2 Feb 20 11:19 /scratch/builds When we use anon_root=/scratch/builds, it asks for login/password which we entered and it brings us to the user's home directory which is not what we want. Name (hostname:root): anonymous 331 Please specify the password. Password: 500 OOPS: vsftpd: refusing to run with writable anonymous root Login failed. Ideally, we only want user coming to ftp://hostname.pa.com and be able to download with no prompt for login/password. on IE, for some reason, the url must be ftp://hostname.pa.com/scratch/builds to get to /scratch/builds. Using IE with ftp://hostname.pa.com/ shows the / directory. How do we stop IE from showing files and folders under / and to only show at /scratch/builds ? What are we doing wrong ? |
Hi,
Quote:
Code:
chmod a-w /scratch/builds Quote:
Quote:
Code:
no_anon_password=YES |
All times are GMT -5. The time now is 06:13 AM. |