feat(profiles): new definition for MOUNTs, add MOUNTDIRS.
This commit is contained in:
parent
9493e783ce
commit
779853dc7f
62 changed files with 198 additions and 203 deletions
|
|
@ -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>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue