Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add (hidden) option to always show smb root as writable #26145

Merged
merged 1 commit into from
Mar 19, 2021

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 robin@icewind.nl

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>
@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 rullzer and PVince81 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.

3 participants