The distribution I use does not use sudo so the command is run as root.
Which distribution is that then? And are you required to do everything as root or do you su first?
On to your log.
To me, everything looks to be as it should be but, as you should be aware, the owner, group, and permissions you see on a Linux client are a pleasant fiction created in the driver.* So...
- Which Pi user were you attempting to write to the share as?
- What error messages are you seeing?
- Have you checked the share configuration on the server hasn't changed?
- Have you checked that the backing store on the server allows writing by the SMB user martin? And that it allows writing at all?
- Have you tried including the rw mount option? It's not impossible that the default in your distro has changed to ro.
- Have you tried setting explict file_mode and dir_mode to grant write permission to group and other?
You might want to look at Building A Pi Based NAS and Using fstab A Beginner's Guide. While not updated for Trixie, I'm not aware of any major changes in this area.
*: Unless you enable the Unix extensions and force v1. Which is only possible on a Samba server and you really shouldn't do as v1 is 30+ years old, deprecated, and insecure.
Statistics: Posted by thagrol — Mon Nov 03, 2025 12:54 am