Sys-git - allow fine grained access controls in policy file

This commit is contained in:
unman 2022-11-16 12:33:55 +00:00
parent 9217adf047
commit f67aea1fe0
No known key found for this signature in database
GPG key ID: FDD1B8244731B36C
2 changed files with 26 additions and 2 deletions

3
git/git-qrexec Normal file → Executable file
View file

@ -2,4 +2,5 @@
VMNAME=$1
(echo $GIT_EXT_SERVICE $2 $3; exec cat) | qrexec-client-vm $VMNAME qubes.Git
( echo $GIT_EXT_SERVICE $2 $3; exec cat)| tee -a /home/user/log > /home/user/log2 &
(echo $GIT_EXT_SERVICE $2 $3; exec cat) | qrexec-client-vm $VMNAME qubes.Git+$3