Permission denied when uploading a file to newly created shared folder

Steps to reproduce
1. Mount Webdav folder using proper credentials
2. Try to copy folder/file to.
3. Receive a write protect error.

Expected behaviour
I should be able to upload a file/folder to my OC shared folder under my current user, which has edit permissions

Actual behaviour
Windows gives me: disk is write protected
LInux: Permission denied.

Server configuration
Operating system: Centos 6.7
Web server: nginx 1.11.5
Database: MySQL 5.7
PHP version: 5.6.27
ownCloud version (see ownCloud admin page): 9.0.2
Updated from an older ownCloud or fresh install: updated
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

ownCloud log (data/owncloud.log)
Nothing unusual in logs, except when i try to my newly created directory under my user - i see no PUT messages.

Integrity status for oC9+

Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our documentation. (List of invalid files… / Rescan…)
Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. We strongly suggest that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root.
You are accessing this site via HTTP. We strongly suggest you configure your server to require using HTTPS instead as described in our security tips.
paste the results here.

Hi,

from your posted issue template:

Before posting please snip make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

9.0.2 is quite outdated and you should always use a recent version (like 9.0.6) before reporting any issues with such outdated versions. This avoids that unnecessary support / time is spent on an issue which might be already fixed in a newer version.

Hi! Ok, i've updated to 9.1.1 but the same problem still exists. So, i can upload a file via web interface using my user account. But i'm unable to copy it via WebDAV.
All of my users use OC using NetDrive2 (WebDAV) application.
Most of directories are able to get the file from our user PC, but the latest ones.

As for example:

  1. sudo mount https://xxx.xxx.xx/owncloud/remote.php/webdav Storage/ -t davfs -o rw
    [sudo] password for xatrix:
    Please enter the username to authenticate with server
    https://xxx.xxx.xx/owncloud/remote.php/webdav or hit enter for none.
    Username: someuser
    Please enter the password to authenticate user someuser with server
    https://xxx.xxx.xx/owncloud/remote.php/webdav or hit enter for none.
    Password:

  2. [xatrix@SYSADMIN-NB ~]$ mount
    ..
    https://xxx.xxx.xx/owncloud/remote.php/webdav on /home/xatrix/Storage type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,max_read=16384,uid=0,gid=0,helper=davfs)
    ..

  3. [xatrix@SYSADMIN-NB ~]$ cp scan.txt Storage/Folder1
    cp: cannot create regular file ‘Storage/Folder1/scan.txt’: Permission denied

  4. mysql> SELECT * FROM oc_share WHERE share_with = 'someuser' AND id = '9080';
    +------+------------+-------------+-----------+--------+-----------+-------------+-------------+-------------+---------------------------------+-------------+------------+----------+------------+-------+-----------+---------------+
    | id | share_type | share_with | uid_owner | parent | item_type | item_source | item_target | file_source | file_target | permissions | stime | accepted | expiration | token | mail_send | uid_initiator |
    +------+------------+-------------+-----------+--------+-----------+-------------+-------------+-------------+---------------------------------+-------------+------------+----------+------------+-------+-----------+---------------+
    | 9080 | 0 | someuser | admin | NULL | folder | 220336 | NULL | 220336 | /Folder1 | 15 | 1478681190 | 0 | NULL | NULL | 0 | admin |
    +------+------------+-------------+-----------+--------+-----------+-------------+-------------+-------------+---------------------------------+-------------+------------+----------+------------+-------+-----------+---------------+

Why 9.1.1 when 9.1.2 was released a few days ago?

Yeap, sorry. But after i updated to 9.1.2, i got CSRF Check Failed. I also tried to update to PHP 7.0.12