This is messing up folder permissions.
Botspot opened this issue · 8 comments
Botspot commented
I was unable to download Minecraft Pi (modded)'s AppImage to the ~/.local/bin
folder because that folder was owned by root
. Why was it owned by root? Well this folder gives a clue: ~/.local/bin/pikiss-gui
It's also owned by root.
To reproduce:
- First uninstall PiKISS-GUI
- Remove the ~/.local/bin folder. This is important because a fresh image of RPiOS does not have this folder.
- Install PiKISS-GUI and notice that it has created the
~/.local/bin/pikiss-gui
folder, and the parent folder,~/.local/bin
, both being owned by root, rather than by the current$USER
.
Please fix this.
TheBrokenRail commented
Quick look revealed it's because ninja -C build install
is called with sudo
(
Line 4 in b189ad0
Botspot commented
Now when installing PiKISS-GUI it gives me this error:
Syncing Apps with PiKISS...
su: user /home/pi/.local/share/pikiss-gui/getapps.sh does not exist or the user entry does not contain all the required fields
while executing ['/home/pi/pikiss-gui/post_install.sh']
FAILED: meson-postinst
/usr/local/bin/meson --internal exe --unpickle /home/pi/pikiss-gui/build/meson-private/meson_exe_post_install.sh_62e6f25bcfa1881bca3f8ac30100fe386b73c23d.dat
ninja: build stopped: subcommand failed.
Failed to build PiKISS GUI
Jai-JAP commented
Oh.. you need to chown -R $USER:$USER ~/.local/
and then start the build
Botspot commented
It works now. Thank you.