Page 1 of 1
webdav permissions
PostPosted:Wed Jun 15, 2016 1:05 am
by marcciv
I've been using openkm on a home server to manage household paperwork and to make things easier decided to try webdav uploading directly from my scanner. I followed the steps here,
http://wiki.openkm.com/index.php/WebDAV_access . Everything seemed to work fine and from an Ubuntu desktop I can mount the folders. Problem is I can't read or write to the folders. All show as owned by root:root . On a test folder I changed ownership from the command line on the mounted folder to www-data:user and I can read and write to that folder. Just wondering if someone can point me in the right direction to get things working correctly. I can change the other folders but not sure if I should do that or not.
Re: webdav permissions
PostPosted:Fri Jun 17, 2016 6:14 am
by jllort
Two things. First take in consideration you have connected to openkm repository across an OpenKM user for mapping in your computer. That means if the user have not grants for writing you will not be able to write anything. Secondly, when resource is mapped in your network and you change grants, that means you are applying grants only from linux side, not OpenKM. That means, you need to connect with user with write grants and also from linux side, need write grants from OS view.
Re: webdav permissions
PostPosted:Mon Jun 27, 2016 2:23 am
by mciv
From OpenKM I created a user and gave it admin rights. It certainly looks like the user has all access but when i mount the webdav share I still cannot write to it.
Re: webdav permissions
PostPosted:Wed Jun 29, 2016 2:53 pm
by jllort
Take in mind you are working with two users: One user is the OS with you are operating and using for mounting the unit and the other user is the user who are using for connecting to OpenKM. I suspect you are not able to write because you do not have grants from OS point of view, not for OpenKM. Is like mounting a network resource with root user but do not give grants from OS view.