add texstudio
This commit is contained in:
parent
2c1d235ef0
commit
cdb64e14ba
1 changed files with 48 additions and 0 deletions
48
apparmor.d/profiles-s-z/texstudio
Normal file
48
apparmor.d/profiles-s-z/texstudio
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2025 valoq <valoq@mailbox.org>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/4.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/texstudio
|
||||
profile texstudio @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dconf-write>
|
||||
include <abstractions/desktop>
|
||||
include <abstractions/fonts>
|
||||
include <abstractions/fontconfig-cache-read>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/user-write-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/pdflatex ix,
|
||||
@{bin}/pdftex ix,
|
||||
@{bin}/kpsewhich ix,
|
||||
@{bin}/gsettings ix,
|
||||
@{bin}/which ix,
|
||||
|
||||
/usr/share/texmf-dist/{,**} r,
|
||||
/usr/share/doc/texstudio/{,**} r,
|
||||
/usr/share/hunspell/{,**} r,
|
||||
/usr/share/texstudio/{,**} r,
|
||||
/usr/share/poppler/{,**} r,
|
||||
|
||||
/etc/texmf/{,**} r,
|
||||
/etc/machine-id r,
|
||||
|
||||
/var/lib/texmf/{,**} r,
|
||||
|
||||
owner @{user_config_dirs}/texstudio/{,**} rwlk,
|
||||
owner /tmp/qtsingleapp-TeXstu-** rw,
|
||||
owner /tmp/qtsingleapp-TeXstu-**-lockfile rwk,
|
||||
|
||||
## silencer
|
||||
deny owner /usr/share/hunspell/en_US-large.ign w,
|
||||
|
||||
include if exists <local/texstudio>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
Loading…
Add table
Add a link
Reference in a new issue