]> source.dussan.org Git - nextcloud-server.git/commit
add (hidden) option to always show smb root as writable 26145/head
authorRobin Appelman <robin@icewind.nl>
Tue, 16 Mar 2021 14:34:41 +0000 (15:34 +0100)
committerRobin Appelman <robin@icewind.nl>
Tue, 16 Mar 2021 14:35:35 +0000 (15:35 +0100)
commit5ffaa94fbc9a879af28e51ccbe13469cbb79cfdb
tree237998cd2ed796d32c76a1499d3fa2ce12945049
parent7a09b7d60edfdb4426565667dfbc94b132fba034
add (hidden) option to always show smb root as writable

some smb servers are very insistent in reporting that the root of the share is readonly, even if it isn't.

This works around the problem by adding a hidden option to overwrite the permissions of the root of the share.

This can be enabled using

```bash
occ files_external:config <mount id> root_force_writable true
```

where you can find your mount id using

```bash
occ files_external:list
```

Signed-off-by: Robin Appelman <robin@icewind.nl>
apps/files_external/lib/Lib/Storage/SMB.php