From: maarten De G. <pla...@ho...> - 2006-04-14 12:09:22
|
Hello, I can mount my site with: [root@asterisk1 admin]# mount http://localhost:1980/mysite /mnt/webdav/ -t davfs I can also open my filesystem in /mnt/webdav But when I try to copy a file it doesn't work, I get this output: [root@asterisk1 admin]# cp test2.txt /mnt/webdav/fax/ cp: cannot create regular file `/mnt/webdav/fax/test2.txt': No such file or directory Greetings Maarten |
From: Werner B. <wer...@on...> - 2006-04-14 15:46:16
|
Hello Maarten, does /mnt/webdav/fax really exist? cp will not create missing directories. Has your webserver process write permissions for it's documents? Usually webservers do *not* have write permission. So when you enable WebDAV you will manually have to change permissions for that part of document root, that is used for WebDAV. In any case you should have a look at your webserver's log files (that is just what log files are for). If using apache you will propably find them at /var/log/apache2/access.log and /var/log/apache2/error.log. Are there requests from davfs2 and what is the response? Greetings Werner P.S.: Log files are the administrator's best friends. |