• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

macOS permissions

Scheduled Pinned Locked Moved General Discussion
1 Posts 1 Posters 321 Views 1 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.
  • S Away
    sdetweil
    last edited by sdetweil May 20, 2020, 2:40 AM May 20, 2020, 2:38 AM

    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

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      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