Two different access paths
The original report involved a local directory shared through Samba in a Docker environment. Differing ownership and permissions blocked saves. Q1 Nextcloud documents local external storage and SMB/CIFS integrations separately. Local access depends on the web process identity; SMB access also involves the configured file-server account. Q2 Q3
A successful read establishes only the required read access. It does not establish permission to create new files, replace existing ones or write temporary files in the parent directory.
Inspect the actual writing path
- Identify the storage type. Check whether Nextcloud configures it as Local or SMB/CIFS storage. For Docker, include the actual host and container paths and whether the mount is read-only.
- Establish the effective identity. For local access, have the administrator compare UID, GID, groups and ACLs as seen inside the container. For SMB, inspect the actual user, domain and share. Identical account names alone do not prove identical permissions.
- Inspect the file and its parent directory. Compare an affected file with a working test file: owner, group, ACLs and directory access. Pay particular attention to files created by different services.
- Limit a harmless write test. Use an approved test subdirectory. Separately test creating a new file and modifying a test file created through the other access path. This distinguishes missing creation rights from unsuitable permissions on existing files.
- Check creation rules. If only files newly created through Samba fail, investigate their default group and inherited permissions. A one-off change to existing files otherwise leaves future creation broken.
Build a durable correction
Define a traceable access model covering only the required identities and directories. Verify both creation directions and check behaviour after container recreation. Blanket chmod 777 or recursively changing ownership across an entire NAS expands the intervention without explaining responsibility for the data.
Keep the working test examples and their metadata as a reference. They make future failures easier to distinguish from changed container IDs, share permissions or file-creation defaults.
Frequently asked questions
Is this always a Samba password problem?
No. With a local bind mount, Nextcloud does not automatically use an SMB login. The actual access path determines which identity matters.
What information helps with a handover?
Provide storage type, anonymised paths, container mapping, effective IDs and a permission comparison between a working and failing test file. Publishing an SMB password is unnecessary.
Help with this case
We can help isolate the affected process and prepare a controlled next step. Discuss case A0288 with KAN KAI WORKS.
Prepare a findings note
Summarise your observations for your enquiry. The note is created in your browser and is not saved or sent here. You can then copy it into the contact form.
Unknown is fine. Do not enter passwords, customer data or complete confidential logs.
Support with this issue
We investigate Nextcloud using your error message, versions and a narrowly scoped example.
Sources
- Q1 · Originalbericht / original report
- Q2 · Nextcloud 35: Local external storage
- Q3 · Nextcloud 35: SMB/CIFS external storage
Sources checked on 5 November 2026. Individual reports do not establish general prevalence.
