PDA

View Full Version : FTP upload Problem


teves
12th March 2007, 18:36
Hi,

I have one annoying problem on my Suse 10.1 / ISPConfig 2.28 Webserver.
Whenever you upload a site via ftp (using the web administrator's username), the file permissions on the server are wrong afterwards; the site can not be viewed in the browser.
To me personally, this is not a problem, I can connect to the server via putty and change the permissions manually after uploading.
But my clients do complain about it.
What can I do about it? Is this a ftp server configuration issue?

regards,
Tom

till
12th March 2007, 19:34
What can I do about it? Is this a ftp server configuration issue?

Yes. You can set the default permissions for uploaded files in the proftpd.conf file (if you use proftpd).

teves
13th March 2007, 11:19
Hello Till,

no, I'm using vsftpd.
I have already set the 'local_umask' value to 022 (and to other values after that). After that I always restarted vsftpd and made a new ftp connection, but the permissions on the server are always 0600 when I upload something.
Am I missing something? Any ideas?

Thank you,
regards,
Tom

falko
13th March 2007, 20:08
What's the output of netstat -tap? What's in /etc/vsftpd.conf?

teves
15th March 2007, 11:41
Hello,

the problem is solved now, though I don't know why.
It suddenly worked without me changing anything. (Yeah I know, everyone tells you so, though it normaly doesn't work after changing nothing... :D )

Thanks for your help anyway!

regards,
Tom