mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
feat(abs): redeine the DE users paths.
This commit is contained in:
parent
25c2dc3399
commit
437bef18ca
@ -2,18 +2,10 @@
|
||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
# Extra Mesa rules for GDM
|
||||
/var/lib/gdm{3,}/.cache/ w,
|
||||
/var/lib/gdm{3,}/.cache/mesa_shader_cache/ rw,
|
||||
/var/lib/gdm{3,}/.cache/mesa_shader_cache/index rw,
|
||||
/var/lib/gdm{3,}/.cache/mesa_shader_cache/@{h}@{h}/ rw,
|
||||
/var/lib/gdm{3,}/.cache/mesa_shader_cache/@{h}@{h}/@{hex} rw,
|
||||
/var/lib/gdm{3,}/.cache/mesa_shader_cache/@{h}@{h}/@{hex}.tmp rwk,
|
||||
|
||||
# Extra Mesa rules for SDDM
|
||||
/var/lib/sddm/.cache/ w,
|
||||
/var/lib/sddm/.cache/mesa_shader_cache/ rw,
|
||||
/var/lib/sddm/.cache/mesa_shader_cache/index rw,
|
||||
/var/lib/sddm/.cache/mesa_shader_cache/@{h}@{h}/ rw,
|
||||
/var/lib/sddm/.cache/mesa_shader_cache/@{h}@{h}/@{hex} rw,
|
||||
/var/lib/sddm/.cache/mesa_shader_cache/@{h}@{h}/@{hex}.tmp rwk,
|
||||
# Extra Mesa rules for desktop environments
|
||||
owner @{desktop_cache_dirs}/ w,
|
||||
owner @{desktop_cache_dirs}/mesa_shader_cache/ rw,
|
||||
owner @{desktop_cache_dirs}/mesa_shader_cache/index rw,
|
||||
owner @{desktop_cache_dirs}/mesa_shader_cache/@{h}@{h}/ rw,
|
||||
owner @{desktop_cache_dirs}/mesa_shader_cache/@{h}@{h}/@{hex} rw,
|
||||
owner @{desktop_cache_dirs}/mesa_shader_cache/@{h}@{h}/@{hex}.tmp rwk,
|
||||
|
@ -8,16 +8,19 @@
|
||||
@{GDM_HOME}=/var/lib/gdm{,3}/
|
||||
@{gdm_cache_dirs}=@{GDM_HOME}/.cache/
|
||||
@{gdm_config_dirs}=@{GDM_HOME}/.config/
|
||||
@{gdm_local_dirs}=@{GDM_HOME}/.local/
|
||||
@{gdm_share_dirs}=@{GDM_HOME}/.local/share/
|
||||
|
||||
# Full path of the SDDM configuration directories
|
||||
@{SDDM_HOME}=/var/lib/sddm/
|
||||
@{sddm_cache_dirs}=@{SDDM_HOME}/.cache/
|
||||
@{sddm_config_dirs}=@{SDDM_HOME}/.config/
|
||||
@{sddm__local_dirs}=@{SDDM_HOME}/.local/
|
||||
@{sddm_share_dirs}=@{SDDM_HOME}/.local/share/
|
||||
|
||||
# Full path of all DE configuration directories
|
||||
@{DESKTOP_HOME}=@{GDM_HOME} @{SDDM_HOME}
|
||||
@{desktop_cache_dirs}=@{DESKTOP_HOME}/.cache/
|
||||
@{desktop_config_dirs}=@{DESKTOP_HOME}/.config/
|
||||
@{desktop_share_dirs}=@{DESKTOP_HOME}/.local/share/
|
||||
@{desktop_cache_dirs}=@{gdm_cache_dirs} @{sddm_cache_dirs}
|
||||
@{desktop_config_dirs}=@{gdm_config_dirs} @{sddm_config_dirs}
|
||||
@{desktop_local_dirs}=@{gdm_local_dirs} @{sddm__local_dirs}
|
||||
@{desktop_share_dirs}=@{gdm_share_dirs} @{gdm_share_dirs}
|
Loading…
Reference in New Issue
Block a user