Skip to content

Conversation

@icewind1991
Copy link
Member

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

occ files_external:config <mount id> root_force_writable true

where you can find your mount id using

occ files_external:list

Signed-off-by: Robin Appelman [email protected]

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 <[email protected]>
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Mar 16, 2021
@icewind1991 icewind1991 added this to the Nextcloud 22 milestone Mar 16, 2021
@icewind1991 icewind1991 requested review from PVince81 and rullzer March 16, 2021 14:36
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🦒

@MorrisJobke MorrisJobke merged commit fb09f3d into master Mar 19, 2021
@MorrisJobke MorrisJobke deleted the smb-force-write-option branch March 19, 2021 14:31
@MorrisJobke MorrisJobke added the pending documentation This pull request needs an associated documentation update label Mar 19, 2021
@icewind1991
Copy link
Member Author

/backport to stable21

@icewind1991
Copy link
Member Author

/backport to stable20

@icewind1991
Copy link
Member Author

/backport to stable19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews pending documentation This pull request needs an associated documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants