vsftpd and file system security issue
Hi all:
I want to use vsftpd server to handle uploads to certain folder on my linux box and later publish the contents of upload folders with apache using virtual hosts. The probem I got is the following: I upload a file and vsftpd writes it on disk with the following permission set
-rw-r--r-- and thats fine for me. Later apache can access this file to publish it, but when I try to upload a directory vsftpd writes it on disk with this permission set drwx------ and this latter form forbids apache to access the directory, so is not possible publish it
I got vsftpd working with virtual users. I mean create a real user on my box and set in vsftpd.conf guest_enable=yes and guest_username=myuser. The "virtual users" are real users on my box and the authentication for vsftpd is based on pam_listfile.so because pam_userdb.do does not work for me due to incompatibility witn berkeley db. For this purpose i write an /etc/ftplogins file with allowed users to log on my ftp.
I somebody got a solution for my problem I 'll be grateful
I'm using SuSE Linux 9.3 professional
Best regards
|