Read the statement by Michael Teeuw here.
Read only config.js
-
Hi all,
I did do a bit of a search but didn’t see anything.
I’ve installed MM into a docker with portainer.
I’ve done to enable my first module but the config.js file is read only.
Any thoughts? I did stop MM running in portainer. -
@hyboi is it read only, or owned by nother user?
-
I wasn’t in root (facepalm).
-
Sam,
How would I check if it is read only? Or owned by another user? -
@Plainbroke-0 ls -laF filename
shows user and permissions
-
@hyboi should never be in root
-
@sdetweil
Thank you. -
sam@sams_laptop:~/MagicMirror/config$ ls -laF total 24 drwxrwxr-x 2 sam sam 4096 Aug 4 19:08 ./ drwxrwxr-x 17 sam sam 4096 Sep 1 01:25 ../ -rw-rw-r-- 1 sam sam 5965 Sep 1 19:28 config.js -rw-rw-r-- 1 sam sam 3258 Jul 5 21:20 config.js.sample -rw-rw-r-- 1 sam sam 20 Mar 13 18:24 .gitignorethere is the d bit, means directory
then three groups of permissions
user
group
other
r readable
w writable
x executable(don’t know number)
user and then groupsize
last modified
filename -
@sdetweil Here is mine and it looks like it is read write enabled.
pi@pi:~/MagicMirror/css $ ls -laF
total 36
drwxr-xr-x 2 pi pi 4096 Sep 1 19:13 ./
drwxr-xr-x 17 pi pi 4096 Aug 25 15:48 …/
-rw-r–r-- 1 pi pi 12232 Sep 1 19:13 custom.css
-rw-r–r-- 1 pi pi 9032 Jul 14 01:01 custom.css.save
-rw-r–r-- 1 pi pi 2957 Jul 13 11:53 main.css
pi@pi:~/MagicMirror/css $ cd …
pi@pi:~/MagicMirror $ cd config
pi@pi:~/MagicMirror/config $ ls -laF
total 32
drwxr-xr-x 2 pi pi 4096 Sep 1 19:14 ./
drwxr-xr-x 17 pi pi 4096 Aug 25 15:48 …/
-rw-r–r-- 1 pi pi 8196 Sep 1 15:57 config.js
-rw-r–r-- 1 pi pi 3258 Jul 13 11:53 config.js.sample
-rw-r–r-- 1 pi pi 3305 Jun 15 16:17 configOriginal.js
-rw-r–r-- 1 pi pi 20 Jun 15 16:17 .gitignore
pi@pi:~/MagicMirror/config $
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login