Basically, for the package manager I made ISM, I would like every user in the group ISM can run the software.
But I am facing an issue. ISM sometimes need to run git commands. When for example it run git ls-remote, even the current user is in the ism group, git ls-remote just get an error
But if I login as user ism, it work. Do I need to set something more ?
To make you understand, it's what I did under my custom linux system:
Code: Select all
# alienware-m17-r3|root /
>_ cd /var/ism/softwares/InitSystems-Main/
# alienware-m17-r3|root /var/ism/softwares/InitSystems-Main
>_ ls -la
total 0
drwxrwxrwx 1 ism ism 20 Feb 21 14:46 .
drwxrwxrwx 1 ism ism 1358 Feb 21 10:33 ..
drwxrwxrwx 1 ism ism 154 Feb 18 10:36 .git
drwxrwxrwx 1 ism ism 24 Feb 16 21:29 Openrc
# alienware-m17-r3|root /var/ism/softwares/InitSystems-Main
>_ git ls-remote
fatal: No remote configured to list refs from.
# alienware-m17-r3|root /var/ism/softwares/InitSystems-Main
>_ su - livecd
$ alienware-m17-r3|livecd /home/livecd
>_ groups
livecd video wheel ism plugdev
$ alienware-m17-r3|livecd /home/livecd
>_ git ls-remote
fatal: No remote configured to list refs from.
$ alienware-m17-r3|livecd /home/livecd
>_ exit
logout
# alienware-m17-r3|root /var/ism/softwares/InitSystems-Main
>_ su - ism
No directory, logging in with HOME=/
$ alienware-m17-r3|ism /
>_ cd /var/ism/softwares/InitSystems-Main
$ alienware-m17-r3|ism /var/ism/softwares/InitSystems-Main
>_ git ls-remote
From https://github.com/Fulgurance/InitSystems-Main
e9b4afbb8d264f20aa209c31bbd3ddd044e95df8 HEAD
e9b4afbb8d264f20aa209c31bbd3ddd044e95df8 refs/heads/master
c7f2b76df983036f244486d96f2c649f1685bedb refs/tags/Alpha-07072023
