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. install oc 9.1 from ubuntu package archive
2. once system is running, mount a local folder /localfolder which is also used by samba
3. unable to write files in /localfolder due to permissions ( owned by samba )
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
Server configuration
Operating system: Ubuntu 16.04
Web server: Stock Apache
Database: Mysql
PHP version: Stock PHP
ownCloud version (see ownCloud admin page): 9.1 installed from Ubuntu packages
Updated from an older ownCloud or fresh install: fresh install
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):
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.
Is there any way I can mount a local folder which is used by a windows SMB server without changing the permissions of this directory to www-data?