Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File ownership wrong after installation #13

Open
mstoffel-sag opened this issue Jun 5, 2024 · 1 comment
Open

File ownership wrong after installation #13

mstoffel-sag opened this issue Jun 5, 2024 · 1 comment

Comments

@mstoffel-sag
Copy link

After install the config files have the following ownership:

ls -la /etc/tedge/plugins/modbus/
total 16
drwxr-xr-x 2 root root 4096 Jun 5 08:53 .
drwxrwxr-x 3 tedge tedge 4096 Jun 5 07:42 ..
-rw-r--r-- 1 root root 2275 Nov 2 2022 devices.toml
-rw-r--r-- 1 root root 70 Nov 1 2022 modbus.toml

They have to belog to tedge user otherwise the plugin does not work.

@reubenmiller
Copy link
Contributor

I'm a bit surprised by this. From the systemd service definition, it is run as root so I'm surprised this is causing an issue.

What version are you running?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants