Originally Posted by bgeier
i upload all files per ftp and all works fine.
but if i upload files with a application of apache the files get the user ond group form apache.
-rw-rw-rw- 1 xdrusr web6 1648 2007-06-01 11:09 archive_f2.png
-rw------- 1 www-data www-data 248 2007-06-08 10:44 austria.gif
-> the ftp user: xdrusr can't access now the files.
how can i fix this problem?
You could make your web application upload the files with 664 permissions instead of 600. Then you can add the user xdrusr to the group www-data. xdrusr will then be able to read/write.