DAV permissions

8 posts / 0 new
Last post
#1 Tue, 03/27/2007 - 22:37

DAV permissions

I'm able to connect to http://mydomain.tld/dav by entering user name and password. But I don't have any write privileges - read-only. This is happening for all virtual servers. How do I change to write access?

Also, is it possible for VM to automatically enable DAV for users it creates when creating a new virtual server? And also set the AuthType to Digest as default?

Tue, 03/27/2007 - 23:47

I just looked at my web error logs and get the following errors from webdav:

(13)Permission denied: Unable to create collection. [[403, #0]] - this is when i try and create a directory

(13)Permission denied: An error occurred while opening a resource. [[500, #0]] - this is when I try and upload a file

Sun, 07/29/2007 - 02:10 (Reply to #2)

Anyone have a fix for this? I'm encountering the same problem.


Wed, 03/28/2007 - 21:41

<p>Ok - when I[b><code>chown apache public_html/</code></b> WebDAV can read/write. But by default, Virtualmin creates public_html/ with[b><code>Access: (0750/drwxr-x---) Uid: ( 501/user) Gid: ( 501/user)</code></b>. Even though apache is part of GID 501/user DAV doesn't have r/w. How can I give DAV r/w without having to chown apache to everything?</p>

<p>I'm just using default VM config.[/p>

Thu, 04/19/2012 - 17:34

I also have the same issue. No rw perms and cannot figure it out.

Wed, 07/25/2012 - 13:20
bislinks's picture

You need to change permission of WebDAV folder from 755 to 775. That means that the group (apache, in this case) has permission to write.

If your WebDAV allowed folder is '/home/$USER/public_html/site1', then the folder 'site1' should have 0775 permission.

That will solve your permission problem.

Business Impact Solutions Computer Repair, Web Hosting, Web Design, and Web Development

Thu, 07/23/2015 - 11:26 (Reply to #6)

I have also this problem and I solve according to your method but this is not the correct way. Could you have an idea what the correct way is ...

Sun, 12/16/2012 - 06:58


I had this issue, and just found this which is great. But my question is why could Virtualmin not set this when installing Webdav? Thanks

Topic locked