right of files after upload with webapp

Discussion in 'Installation/Configuration' started by bgeier, Jun 8, 2007.

  1. bgeier

    bgeier New Member

    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
     
  2. mlz

    mlz New Member

    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... :)
     
  3. falko

    falko Super Moderator

    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.
     

Share This Page