You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jonathan Leacock <jo...@gmail.com> on 2005/03/31 20:46:49 UTC
[users@httpd] permission denied when writing to webdav directory
hi,
ive already tried the webdav mailing list for help with this and no
one has found a solution. the problem is im having trouble writing to
a webdav directory on a fedora core 3
server running apache 2.0.52 with mod_dav loaded. when using cadaver i
get the error:
Uploading sage.usr to `/sage.usr':
Progress: [=============================>] 100.0% of 329 bytes failed:
403 Forbidden
ive also tried to use mozilla sunbird to publish a calendar into this
folder and i get the same 403 error with it as well.
apache runs as user:apache and group:apache. the permissions on the
directory are:
drwxrwxr-x 2 apache apache 4096 Mar 31 11:46 html
in my httpd.conf i have the lines:
DAVLockDB /var/lock/apache/DAVLock
and
<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks
AllowOverride None
Allow from all
Order allow,deny
DAV on
</Directory>
apache has read/write access to the davlockdb directory
the errors given in apache's error_log are:
[Thu Mar 31 13:15:09 2005] [error] [client 192.168.1.200] Unable to
PUT new contents for /sage.usr. [403, #0]
[Thu Mar 31 13:15:09 2005] [error] [client 192.168.1.200]
(13)Permission denied: An error occurred while opening a resource.
[500, #0]
i also get a similar 403 error if i try to delete a file from the directory.
any help would be appreciated
cheers,
jonathan
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] permission denied when writing to webdav directory
Posted by Joshua Slive <js...@gmail.com>.
On Thu, 31 Mar 2005 19:46:49 +0100, Jonathan Leacock
<jo...@gmail.com> wrote:
> hi,
> ive already tried the webdav mailing list for help with this and no
> one has found a solution. the problem is im having trouble writing to
> a webdav directory on a fedora core 3
Check your SELinux configuration settings.
http://fedora.redhat.com/docs/selinux-apache-fc3/
http://fedora.redhat.com/docs/selinux-faq-fc3/
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org