There are roughly 30 users and 30 directories with this structure on a SaltStack minion:
/home/user1/input/
/home/user2/input/
/home/user3/input/
/home/user4/input/
...
I know how to change the linux ACLs for a single file via salt. In this example user "foo" gets read access:
home_user1_input_readable:
acl.present:
- name: /home/user1/input
- acl_type: user
- acl_name: foo
- perms: r
Source: https://docs.saltstack.com/en/latest/ref/states/all/salt.states.linux_acl.html
But how can I do this for N users?
With other word: Is there a way to do globbing here?