Hi guys!
I’m trying to work with Smart Home Designer and OH2 on RPI3. I can view and edit the files and browse the folders.
But my problem is that I can not save the modified files. Also, I can not select openHAB-conf as the configuration folder. I can only select the subfolders.
I’m using them also ( only difference is an added share for the sys folder) and it is working!
I wouldn’t change, but checking the settings in the file might show the reason or show that it has to be something different.
From your original post it SOUNDED as if the samba setup could be wrong, because of that I showed you link to the documentation.
You compared setup with the documentation and decided to change something.
Obviously that didn’t help.
In the initial post you stated two problems. The first was that you could only open files, but you couldn’t write to them (i.e. change them). Is that still the case?
The second was that you "can not select openHAB-conf as the configuration folder. I can only select the subfolders."
If that is the case, please show the respective section of your “smb.conf”.
Starting with the write permission, to whom do the files belong and as which user are you connecting from the remote machine?
On my system the only folders in etc/openhab2/ are sitemap, items, rules etc. . No subfolder conf exists. I think you have all you need.
I’m sorry but I’ve been working with RPI and raspbian for a short time.
I do not know anything about the permissions of that folder.
And openhab-conf is just the default name in that section. It really is the openhab2 folder. Its path is “path = / etc / openhab2”. You can see it in the previous message.
Have you considered openHABian? It’s a great option for people who aren’t as comfortable configuring Linux. It has automated scripts that handle both samba configuration and fix permissions.
If you have the current version, try running the “fix permissions” entry under openhabian-config. I don’t have it in front of me but I think it’s under the system tweaks menu.
In your first post you said : [quote=“David_Jurado, post:1, topic:31835”]
Also, I can not select openHAB-conf as the configuration folder. I can only select the subfolders.
[/quote]
So, if you can seethe subfolders, there is nothing else to see.
In this case: No it’s not fixed. You want to see something similar to the first image.
From your second image it gets clear that you have selected the items folder. That is not correct. You need to select the root folder (which contains the folder items, rules, sitemaps, …).