MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Read only config.js

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 3 Posters 1.1k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      hyboi
      last edited by

      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.

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @hyboi
        last edited by

        @hyboi is it read only, or owned by nother user?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • H Offline
          hyboi
          last edited by

          I wasn’t in root (facepalm).

          S 1 Reply Last reply Reply Quote 0
          • P Offline
            Plainbroke 0
            last edited by

            Sam,
            How would I check if it is read only? Or owned by another user?

            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @Plainbroke 0
              last edited by

              @Plainbroke-0 ls -laF filename

              shows user and permissions

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              P 1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @hyboi
                last edited by

                @hyboi should never be in root

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Plainbroke 0 @sdetweil
                  last edited by

                  @sdetweil
                  Thank you.

                  S 1 Reply Last reply Reply Quote 0
                  • S Away
                    sdetweil @Plainbroke 0
                    last edited by

                    @Plainbroke-0

                    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 .gitignore
                    

                    there 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 group

                    size
                    last modified
                    filename

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      Plainbroke 0 @sdetweil
                      last edited by

                      @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 $

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy