I’m definetely not a Linux expert, since I normally uses Windows. I would like to maintain my items-, sitemap- etc files from at windows machine, and I discovered that Samba shares are pre-installed on the Raspberry 3 / Openhabian combo.
Perfect - ready to go… NOT!
They are READ/ONLY (the shares) so I can see all files, but not save anything?!?!?
What EXACTLY should I do. I’m currently logging in to the pre-installed openHAB-conf share as openhabian:openhabian and I can see and read all files - but all save operations fail.
HELP HELP! Please write a STEP-BY-STEP guide to solve this…
It sounds like you are trying to access these files with the wrong user. When you try to access your samba share, windows should ask you for a username and password. Use the same you use to access your raspberry and try it that way. I don’t use openhabian, so if this does not work, maybe read the instructions again if it requires a different user and password.
I stumbled across the same issue once in a while…my problem was always related to using the wrong user.
Sorry, I am not on windows, that’s as much details i can give you.
Hope that helps
Thanks lipp, but the problem was not related to wrong user, but “strange” sharings setup by the Openhabian image.
Everything works now - and here is exactly what I did to fix it:
Putty into the raspberry
(Optional) Make a copy of the smb.conf file by running: sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
Edit the samba configuration by running: sudo nano /etc/samba/smb.conf
Navigate all the way to the end of the file (you should see a lot of sections with ; as the first char in the lines - these sections are commented out.
Delete ALL the sections after the ========== Custom Share Definitions =========== line