i am in the process to setup a new system with oh3. The system is a virtual machine based on debian 10.6 on a synology hardware.
I use openhabian as a blue print to set it up. Process is very simple and i learn a lot about shell programming. I goto github an study all the commands. Until now everything worked perfect. oh3 is running and i tried to setup samba to access all files from my Windows machine.
If i setup the standard from openhabian the configuration of shares is pointing to the original folder. For the conf files it is like this:
With this configuration i am able to access all files and change them or create new ones. Fine.
In another setup step all the different folders are collected in /srv with a bind mount (very interesting thing that). If use this path in samba like in the next example i could access the folder but has no rights.
I don’t know that you’ll find a whole lot of Samba experts on this forum. Almost all of those who use it use what openHABian does for them. You might need to go look through the
But if you are using VSCode you don’t need Samba. You can use the Remote SSH extension pack. I’m pretty sure it has support for RPis now. Then all you need to do is configure SSH and you can edit the files in place on the host itself.
Beyond that, what user is Samba configured to work as? The Samba config is more than just that section. There is also a config somewhere that sets up users and permissions that are allowed to connect. Maybe there is something in the global section…ls
I’ve only memories of this and no practical experience. I don’t have any Windows machines any more so I haven’t messed with Samba in years.
At the end i am able to use remote VSC odr teh direct path in Samba. so the problem ist not to create a working system. i Like to understand why the pathes are different even if the target is the same.