zigbee2mqtt on FreeBSD as unprivileged user #14949
Replies: 6 comments 3 replies
-
It looks like your unprivileged user can't write to its own directory (/opt/zigbee2mqtt), so how are you thinking this will work? |
Beta Was this translation helpful? Give feedback.
-
I know how it looks like. I'd done numerous To me it seems that during the process something changes the owner to a user that is not the current one running the process. |
Beta Was this translation helpful? Give feedback.
-
Ah you mention running it in the jail - I guess it's something to do with that then. Otherwise you are just running everything as a simple non-root user, the only explanation is file permissions. |
Beta Was this translation helpful? Give feedback.
-
I'm not running it in a jail. May I kindly ask you to try to reproduce it? EDIT long story short I didn't see a need for the jail, so I'm running it as an unprivileged user. |
Beta Was this translation helpful? Give feedback.
-
Steps:
My results:
|
Beta Was this translation helpful? Give feedback.
-
I mentioned the jail because the instructions you linked to mention a jail. Sorry I am only using Linux and can't help with reproducing this. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
A long time ago I successfully installed zigbee2mqtt on a FreeBSD. I wanted to do the same, but the process is failing on trying to node-gyp serialport. I reported it at serialport/node-serialport#2553 because it happens with mere npm install, but I was wondering if anyone knows the solution to this.
Note: I can install and run
npm uninstall --global --unsafe-perms [email protected]
as root, but I'd rather not, and even if I do so and it looks healthy, thenpm ci
command for zigbee2mqtt doesn't seem to pick it up.Beta Was this translation helpful? Give feedback.
All reactions