Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th June 2007, 10:47
bgeier bgeier is offline
Junior Member
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default right of files after upload with webapp

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
Reply With Quote
Sponsored Links
  #2  
Old 8th June 2007, 16:47
mlz mlz is offline
Senior Member
 
Join Date: Dec 2006
Posts: 189
Thanks: 16
Thanked 9 Times in 9 Posts
Default

Is this with the web app that comes with ISPConfig? To me the best way is to have the app chown the files to the user, but since neither myself nor my current load of clients has bothered to use the thing, I'm not sure. Guess I'll be playing with the ftp webapp this weekend...
Reply With Quote
  #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
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web-FTP: cannot upload packed files mark.b Installation/Configuration 11 20th May 2007 18:06
error message trying to upload files cruz General 0 29th April 2007 00:28
Can't upload files using php file upload: Debian Sarge tsmaudio Server Operation 9 25th April 2007 12:53
pure-ftp woes d3th_n1gG4 Server Operation 4 24th January 2007 13:11
Network questions regarding Ubuntu Server lubod Installation/Configuration 7 3rd January 2007 18:53


All times are GMT +2. The time now is 15:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.