MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    macOS permissions

    General Discussion
    1
    1
    117
    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.
    • S
      sdetweil last edited by sdetweil

      anybody that know anything about mac file system permissions might be able to help me…

      I have samba server share that is connected on logon to my catalina box.
      using the login items page

      if I open a terminal window, the share is there and usable

      I also have MM installed and the MMM-ImagesPhotos module. which has symbolic links to folders on the samba share

      if I start MM from the command prompt, via npm start, all works ok,
      if I start MM with pm2, (which does an npm start from the batch file), the share is not accessible…

      with this error reported from my code

       exception=Error: EPERM: operation not permitted, scandir '/selectedpics'
       exception=Error: EPERM: operation not permitted, scandir '/sp'
      

      this link seems to say if I could find ‘the application’ I could enable access
      https://osxdaily.com/2018/10/09/fix-operation-not-permitted-terminal-error-macos/

      I cannot find pm2 (it is outside my user space) /usr/lib/bin/pm2
      I tried making the electron.app thing as the application, but still doesn’t work.

      the share opens correctly at login
      pm2 starts MM correctly at login

      SO close…

      Sam

      Create a working config
      How to add modules

      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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy