[yocto] lighttpd webDav does not allow files to save

peterengcomau001 at adam.com.au peterengcomau001 at adam.com.au
Wed Nov 19 09:10:43 PST 2014


I am running Yocto 1.6.1 with standard atmel build or
atmel-qt5-demo-image
I have added a a lighttpd_1.4.33.bbappend recipe in the directory
~/poky/meta-atmel-lsp/recipes-extended/lighttpd with the following
contents:___________________FILESEXTRAPATHS_prepend :=
"${THISDIR}/${PN}:"
RDEPENDS_${PN} += " lighttpd-module-webdav"
SRC_URI += " file://lighttpd.conf   file://index.htm 
file://config.jsn "
do_install_append() { rm -f ${D}/www/pages/index.html install -m 0777
-d ${D}/www/pages/dav install -m 0555 $WORKDIR}/index.htm
${D}/www/pages/ install -m 0777 ${WORKDIR}/config.jsn
${D}/www/pages/}___________________________

In the subdirectory "lighttpd" I have modified the standard
lighttpd.conf file by uncommenting "mod_webdav" and I have added:
$HTTP["url"] =~ "^/dav($|/)" { webdav.activate = "enable"
webdav.is-readonly = "disable"}
I have also added my own index.htm and config.htm file
When I load and run the new image, my modified index.html pages gets
served up ok. Also, I can map the /www/pages/dav/ to a Windows dirive
and view an open the files it contains.However, the system does not
allow me to store anything.
1. If I use the Windows Mapped drive to store a text file into the
dav directory, it gives me an error.2. If I use my index.html page to
update the config.jsn file via a 'PUT', it does not save the new file.
Here is some extra informationroot at sama5d3xek:/www/pages# ls
-l-rwxrwxrwx 1 root root    83 Nov 19 08:51 config.jsndrwxrwxrwx 2
root root   160 Nov 19 10:02 dav-r-xr-xr-x 1 root root 47641 Nov 19
08:51 index.htm
root at sama5d3xek:/www# ls -ldrwxrwxrwx 8 root root 904 Nov 19 09:55
pages
Can anyone advise why the lighttpd is serving data but wont allow
either the web client or the dav client to save/update files in theri
appropriate folders?
ThanksLachlan
---- Message sent via Adam Internet WebMail - http://www.adam.com.au/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141120/fadccff5/attachment.html>


More information about the yocto mailing list