You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File resource required to set a permission in letter notation format.
Setting Permissions Using Letter Notation
The syntax for using letter notation is: chmod [access class][operator][letter permission] file
Access classes are indicated using initials, as follows:
u for user
g for group
o for other
a for all three: user and group and other
You can combine initials together. For example, uo would stand for user and other.
The operators are the following:
'+' to add a permission
'-' to remove a permission
'=' to set a permission
The permission types being manipulated are indicated using letter notation as described above.
chmod Numeric Notation Example:
To add execute permission to user for the file example.html, you would use the following command: chmod u+x example.html
Describe the Enhancement:
File resource required to set a permission in letter notation format.
Setting Permissions Using Letter Notation
The syntax for using letter notation is:
chmod [access class][operator][letter permission] file
Access classes are indicated using initials, as follows:
You can combine initials together. For example,
uo
would stand for user and other.The operators are the following:
The permission types being manipulated are indicated using letter notation as described above.
chmod Numeric Notation Example:
To add execute permission to user for the file example.html, you would use the following command:
chmod u+x example.html
Describe the Need:
We have few CIS controls which has not a complete details for one of the access class so we could not use
mode
propertyeg:
https://github.com/chef/improvised_cookbooks/pull/1/files#diff-4eb1f94dfc9cba81c26467ba2dc078f1bd8b44c0a31e032db70866e6bef9c280R333
Current Alternative
Currently we are using
execute
resource.Can We Help You Implement This?:
The text was updated successfully, but these errors were encountered: