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
|
|
@ -6,8 +6,6 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{SYNC_FOLDER}=@{MOUNTS}/*/cloud_storage
|
||||
|
||||
@{exec_path} = /{usr/,}bin/megasync
|
||||
profile megasync @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
|
@ -55,11 +53,8 @@ profile megasync @{exec_path} {
|
|||
owner @{user_config_dirs}/QtProject.conf r,
|
||||
|
||||
# Sync folder
|
||||
#/ r,
|
||||
#@{MOUNTS}/ r,
|
||||
#@{MOUNTS}/*/ r,
|
||||
owner @{SYNC_FOLDER}/ r,
|
||||
owner @{SYNC_FOLDER}/** rwl -> @{SYNC_FOLDER}/**,
|
||||
owner @{user_sync_dirs}/ r,
|
||||
owner @{user_sync_dirs}/** rwl -> @{user_sync_dirs}/**,
|
||||
|
||||
# Proc filesystem
|
||||
deny owner @{PROC}/@{pid}/cmdline r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue