Locking open file - WebDAV - multiple users

9.1.x

#1

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1.open a file with libreoffice trought the webdav mapped folder under libreoffice, using user 1
2.open the same file to the same way using user 2
3.see that user 2 can open the file without any notification or restriction for editing and save

Expected behaviour
Tell us what should happen

User 2 can't open or can't edit the file, while the user1 was working on it

Actual behaviour
Tell us what happens instead

1.open a file with libreoffice trought the webdav mapped folder under libreoffice, using user 1
2.open the same file to the same way using user 2
3.see that user 2 can open the file without any notification or restriction for editing and save

Server configuration
Operating system: centos 6
Web server: apache2
Database:mariadb
PHP version: 5.4.40
ownCloud version (see ownCloud admin page):9.1.4
Updated from an older ownCloud or fresh install:fresh install
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):no

ownCloud configuration

Go to the admin page, click on 'admin' -> 'Generate Config Report' -> 'Download ownCloud config report' or use the command line `sudo -u www-data php occ config:list system` (please sanitize sensitive data):

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

#2

This is the expected behavior. There is currently no locking done on ownCloud side for such files but you might be able to find some open feature requests at the https://github.com/owncloud/core/issues bugtracker.


#3

Someone built this app. maybe it works for you?
https://apps.owncloud.com/content/show.php/Workin2gether+%28Lock+files+in+WebUI%29?content=164016


#4

Hi Lefherz, yes we try this app but only give us the chance to mark as locked but don't lock realy the file.
Many thanks.


#5

See below for the feature request i mentioned above. This needs to be implemented by some to be able to fulfill your use case.