mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
feat(abs): cleanup thumbnails abstractions.
This commit is contained in:
parent
dab928305f
commit
d07e63d506
2 changed files with 3 additions and 11 deletions
|
@ -3,12 +3,8 @@
|
|||
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
owner @{HOME}/thumbnails/ r,
|
||||
owner @{HOME}/thumbnails/{large,normal}/ r,
|
||||
owner @{HOME}/thumbnails/{large,normal}/@{hex}.png r,
|
||||
|
||||
owner @{user_cache_dirs}/thumbnails/ r,
|
||||
owner @{user_cache_dirs}/thumbnails/{*large,normal}/ r,
|
||||
owner @{user_cache_dirs}/thumbnails/{*large,normal}/@{hex}.png r,
|
||||
owner @{user_cache_dirs}/thumbnails/{*large,normal}/@{hex32}.png r,
|
||||
|
||||
include if exists <abstractions/thumbnails-cache-read.d>
|
|
@ -3,14 +3,10 @@
|
|||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
owner @{HOME}/thumbnails/ rw,
|
||||
owner @{HOME}/thumbnails/{large,normal}/ rw,
|
||||
owner @{HOME}/thumbnails/{large,normal}/#@{int} rw,
|
||||
owner @{HOME}/thumbnails/{large,normal}/@{hex}.png rwl -> @{user_cache_dirs}/thumbnails/{large,normal}/#@{int},
|
||||
|
||||
owner @{user_cache_dirs}/thumbnails/ rw,
|
||||
owner @{user_cache_dirs}/thumbnails/{large,normal}/ rw,
|
||||
owner @{user_cache_dirs}/thumbnails/{large,normal}/@{hex32}.png rwl -> @{user_cache_dirs}/thumbnails/{large,normal}/#@{int},
|
||||
owner @{user_cache_dirs}/thumbnails/{large,normal}/@{hex32}.png.@{rand6} rw,
|
||||
owner @{user_cache_dirs}/thumbnails/{large,normal}/#@{int} rw,
|
||||
owner @{user_cache_dirs}/thumbnails/{large,normal}/@{hex}.png rwl -> @{user_cache_dirs}/thumbnails/{large,normal}/#@{int},
|
||||
|
||||
include if exists <abstractions/thumbnails-cache-write.d>
|
Loading…
Reference in a new issue