feat(profiles): new definition for MOUNTs, add MOUNTDIRS.

This commit is contained in:
Alexandre Pujol 2022-06-12 22:51:37 +01:00
parent 9493e783ce
commit 779853dc7f
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
62 changed files with 198 additions and 203 deletions

View file

@ -17,14 +17,14 @@ profile f3write @{exec_path} {
@{exec_path} mr,
# USB drive mount locations
@{MOUNTDIRS} r,
@{MOUNTS}/ r,
@{MOUNTS}/*/ r,
@{MOUNTS}/*/*/ r,
/mnt/ r,
# To be able to write h2w files
owner @{MOUNTDIRS}/[0-9]*.h2w w,
owner @{MOUNTS}/[0-9]*.h2w w,
owner @{MOUNTS}/*/[0-9]*.h2w w,
owner @{MOUNTS}/*/*/[0-9]*.h2w w,
owner /mnt/[0-9]*.h2w w,
include if exists <local/f3write>
}