LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   vsftpd and Mozilla firefox problem (https://www.linuxquestions.org/questions/linux-networking-3/vsftpd-and-mozilla-firefox-problem-693003/)

sohailkmu 12-25-2008 10:55 PM

vsftpd and Mozilla firefox problem
 
I have installed vsftpd on red hat enterprise as 4. The problem is when I log in to the ftp server through internet explorer 6.0 it is OK. But when I log in the ftp server and click the "Up to Higher Level Directory" Link it eventually shows all of my server's partitions. I am not logging in through anonymous.

What should I do.

harry edwards 12-26-2008 04:13 PM

There is normally an option to "jail" a user. so they can only see their home directory and sub-directories.

In /etc/vsftpd.conf set the following:
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list

In /etc/vsftpd.chroot_list, put in those usernames who are allowed to change their root directory, those who are not in the list cannot change the root directory.

Once the above have been changed restart vsftp.

Hope that helps.

sohailkmu 12-28-2008 11:18 PM

Quote:

Originally Posted by harry edwards (Post 3387941)
There is normally an option to "jail" a user. so they can only see their home directory and sub-directories.

In /etc/vsftpd.conf set the following:
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list

In /etc/vsftpd.chroot_list, put in those usernames who are allowed to change their root directory, those who are not in the list cannot change the root directory.

Once the above have been changed restart vsftp.

Hope that helps.

Thanks a lot for your response. It really worked fine.

I have got another problem

I want one user to upload files to ftp server. I have changed the ownership of the directory to that of the user. It is working fine in Internet explorer 6.0 i.e I copy a file and paste it. But with Mozilla firefox or opera or internet explorer 7.0 it cannot be done. Kindly guide me.


All times are GMT -5. The time now is 05:33 AM.