mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
Add /mnt as possible mount point.
This commit is contained in:
parent
84f24133e9
commit
0ad600f90f
@ -23,22 +23,22 @@
|
||||
owner @{user_share_dirs}/Trash/expunged/[0-9]* rw,
|
||||
|
||||
# Partitions' trash location when the admin creates the .Trash/ folder in the top lvl dir
|
||||
owner /media/*/.Trash/ rw,
|
||||
owner /media/*/.Trash/[0-9]*/ rw,
|
||||
owner /media/*/.Trash/[0-9]*/#[0-9]*[0-9] rw,
|
||||
owner /media/*/.Trash/[0-9]*/directorysizes{,.*} rwl -> /media/*/.Trash/[0-9]*/#[0-9]*[0-9],
|
||||
owner /media/*/.Trash/[0-9]*/files/{,**} rw,
|
||||
owner /media/*/.Trash/[0-9]*/info/ rw,
|
||||
owner /media/*/.Trash/[0-9]*/info/*.trashinfo{,.*} rw,
|
||||
owner /media/*/.Trash/[0-9]*/expunged/ rw,
|
||||
owner /media/*/.Trash/[0-9]*/expunged/[0-9]* rw,
|
||||
owner /{media,mnt}/*/.Trash/ rw,
|
||||
owner /{media,mnt}/*/.Trash/[0-9]*/ rw,
|
||||
owner /{media,mnt}/*/.Trash/[0-9]*/#[0-9]*[0-9] rw,
|
||||
owner /{media,mnt}/*/.Trash/[0-9]*/directorysizes{,.*} rwl -> /{media,mnt}/*/.Trash/[0-9]*/#[0-9]*[0-9],
|
||||
owner /{media,mnt}/*/.Trash/[0-9]*/files/{,**} rw,
|
||||
owner /{media,mnt}/*/.Trash/[0-9]*/info/ rw,
|
||||
owner /{media,mnt}/*/.Trash/[0-9]*/info/*.trashinfo{,.*} rw,
|
||||
owner /{media,mnt}/*/.Trash/[0-9]*/expunged/ rw,
|
||||
owner /{media,mnt}/*/.Trash/[0-9]*/expunged/[0-9]* rw,
|
||||
|
||||
# Partitions' trash location when the admin doesn't create the .Trash/ folder in the top lvl dir
|
||||
owner /media/*/.Trash-[0-9]*/ rw,
|
||||
owner /media/*/.Trash-[0-9]*/#[0-9]*[0-9] rw,
|
||||
owner /media/*/.Trash-[0-9]*/directorysizes{,.*} rwl -> /media/*/.Trash-[0-9]*/#[0-9]*[0-9],
|
||||
owner /media/*/.Trash-[0-9]*/files/{,**} rw,
|
||||
owner /media/*/.Trash-[0-9]*/info/ rw,
|
||||
owner /media/*/.Trash-[0-9]*/info/*.trashinfo{,.*} rw,
|
||||
owner /media/*/.Trash-[0-9]*/expunged/ rw,
|
||||
owner /media/*/.Trash-[0-9]*/expunged/[0-9]* rw,
|
||||
owner /{media,mnt}/*/.Trash-[0-9]*/ rw,
|
||||
owner /{media,mnt}/*/.Trash-[0-9]*/#[0-9]*[0-9] rw,
|
||||
owner /{media,mnt}/*/.Trash-[0-9]*/directorysizes{,.*} rwl -> /{media,mnt}/*/.Trash-[0-9]*/#[0-9]*[0-9],
|
||||
owner /{media,mnt}/*/.Trash-[0-9]*/files/{,**} rw,
|
||||
owner /{media,mnt}/*/.Trash-[0-9]*/info/ rw,
|
||||
owner /{media,mnt}/*/.Trash-[0-9]*/info/*.trashinfo{,.*} rw,
|
||||
owner /{media,mnt}/*/.Trash-[0-9]*/expunged/ rw,
|
||||
owner /{media,mnt}/*/.Trash-[0-9]*/expunged/[0-9]* rw,
|
||||
|
@ -10,6 +10,9 @@
|
||||
owner /media/*/@{XDG_DOWNLOAD_DIR}/ r,
|
||||
owner /media/*/@{XDG_DOWNLOAD_DIR}/** rwl,
|
||||
|
||||
owner /mnt/*/@{XDG_DOWNLOAD_DIR}/ r,
|
||||
owner /mnt/*/@{XDG_DOWNLOAD_DIR}/** rwl,
|
||||
|
||||
owner @{HOME}/@{XDG_DESKTOP_DIR}/ r,
|
||||
owner @{HOME}/@{XDG_DESKTOP_DIR}/** rwl,
|
||||
|
||||
|
@ -64,6 +64,7 @@ profile gpg @{exec_path} {
|
||||
|
||||
# Verify files
|
||||
owner @{HOME}/** r,
|
||||
owner /mnt/*/** r,
|
||||
owner /media/*/** r,
|
||||
|
||||
owner @{PROC}/@{pid}/task/@{tid}/stat rw,
|
||||
|
@ -30,6 +30,7 @@ profile blkid @{exec_path} {
|
||||
# Image files
|
||||
@{HOME}/** r,
|
||||
/media/*/** r,
|
||||
/mnt/*/** r,
|
||||
|
||||
include if exists <local/blkid>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user