Closed Kyuuhachi closed 2 years ago
It's a bug in the package. /usr/lib/node_modules
should be owned by root
in the package file (.pkg.tar.zst
).
Some discussion here: https://github.com/CyberShadow/aconfmgr/issues/115#issuecomment-945081813
I see someone already reported the package bug: https://aur.archlinux.org/packages/vscode-langservers-extracted#comment-853074
Oh, okay. Only noticed symptoms when using it with ACM, so I figured that's where the problem was.
General description of the problem:
After adding
vscode-langservers-extracted
, aconfmgr started exhibiting strange behavior where every run toggles ownership of/usr/lib/node_modules
between root and my user. This is possibly due tov-l-e
being an AUR package, though other AUR packages don't have that behavior, so it's kinda weird.Steps to reproduce the problem:
I don't know the full steps, but for me it started when I added
Run
aconfmgr apply
several times to see the results.Configuration:
Expected result:
Ownership of
/usr/lib/node_modules
should beroot:root
.Actual result:
Ownership of
/usr/lib/node_modules
toggles betweenroot:root
andme:me
each time I runaconfmgr apply
.Log:
Additional context:
Using Yay for AUR, in case it matters.