Install, enable and disable assistive access on macOS minions
/path/to/file:
xattr.exists:
- attributes:
- com.file.attr=test
- com.apple.quarantine=0x00001111
salt.states.mac_xattr.
delete
(name, attributes)¶Make sure the given attributes are deleted from the file/directory
The path to the file/directory
The attributes that should be removed from the file/directory, this is accepted as an array.
salt.states.mac_xattr.
exists
(name, attributes)¶Make sure the given attributes exist on the file/directory
The path to the file/directory
The attributes that should exist on the file/directory, this is accepted as an array, with key and value split with an equals sign, if you want to specify a hex value then add 0x to the beginning of the value.
Generated on May 09, 2023 at 04:03:50 UTC.
You are viewing docs for the latest stable release, 3006.1. Switch to docs for the previous stable release, 3005.1, or to a recent doc build from the master branch.
© 2023 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy