-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check for write permission of the temp file (e.g. ro filesystem) #77
Comments
Is it about installation makefile or state json file? I mean, if u cant even clone the project (no permission?), its obviously you won't reach the state of checking RW filesystem. |
I'd say these are different shoes. In the particular case the ro filesystem was configured after the initial setup. I would argue, that there are many reasons why a certain file can not be written at some point in the operation time of a system. I suggest to add a routine to check the ability to write to the given file when starting the script. wdyt? |
Sure, we can do it at the beginning of script or before export Or maybe even same as check of sudo? PS: if sudo is assumed, then no point to check?! |
One initial action should be a test if the data file can be stored. See: https://community.openhab.org/t/oh2-raspi3-crash-and-lost-config/34916/12
The text was updated successfully, but these errors were encountered: