WEBDAV directory and file ownership

Discussion in 'General' started by rbartz, Feb 24, 2010.

  1. rbartz

    rbartz Member HowtoForge Supporter

    Hello!

    I have a perfect server setup, Fedora Core 10, ispconfig 2.

    Enabling WEBDAV is no problem, except that in order for a WEBDAV client to be able to write to the "web/" directory, I have to chmod it to 0777. After creating pages there with a client, the pages are owned by root.apache.

    Is that right or is something wrong in our setup?

    The real problem at the end is that the website client cannot change the files using FTP, permission denied. At the same time, if the files already exist, then WEBDAV cannot work with them as they are owned by the website admin.group.

    Do we need to run SUPHP in order for WEBDAV to use the website admin owner.group?

    Thanks,

    Richard
     
  2. falko

    falko Super Moderator Howtoforge Staff

    That's normal, and that's why you should either use FTP or WebDAV, not both at the same time.
     
  3. rbartz

    rbartz Member HowtoForge Supporter

    Thank you Falko. Makes sense. I appreciate the quick reply.

    Richard
     

Share This Page