abishur
Dabbler
- Joined
- Jun 28, 2022
- Messages
- 26
I am trying to learn how to use apps and have installed Mosquitto-MQTT. Instead of using PVC I used hostpath(simple) and set the directory to a known location (/mnt/vmStorage/apps/mosquitto). But when I try to create a password file using the command
I get the error message "Unable to open file [file_name] for writing. Read-only file system. Okay I thought I just need to make sure my files have the right ownership. It looks like apps use the group "apps" so I did a chgrp apps to vmStorage, apps, and the mosquitto directory, but it's still saying the file system is read-only.
What am I missing here?
Code:
mosquitto_passwd -c /mosquitto/config/password.txt [username]
I get the error message "Unable to open file [file_name] for writing. Read-only file system. Okay I thought I just need to make sure my files have the right ownership. It looks like apps use the group "apps" so I did a chgrp apps to vmStorage, apps, and the mosquitto directory, but it's still saying the file system is read-only.
What am I missing here?