View Single Post
  #3  
Old 9th June 2007, 11:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
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?

thanks

bernd
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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote