feat(profile): rewrite profile for vscode (wip).

This commit is contained in:
Alexandre Pujol 2023-09-05 19:15:01 +01:00
parent 73ff7efe60
commit 7c24dde028
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 73 additions and 23 deletions

View file

@ -7,6 +7,8 @@ abi <abi/3.0>,
include <tunables/global>
@{code_config_dirs} = @{user_config_dirs}/Code* @{HOME}/.vscode{,-oss}
@{exec_path} = @{bin}/git
@{exec_path} += @{bin}/git-*
@{exec_path} += @{lib}/git-core/git
@ -104,6 +106,8 @@ profile git @{exec_path} {
owner /tmp/git-commit-msg-.txt rw, # For android studio
deny @{user_share_dirs}/gvfs-metadata/* r,
deny /dev/shm/.org.chromium.Chromium* rw,
deny owner @{code_config_dirs}/** rw,
profile gpg {
include <abstractions/base>