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
Hi, I recently encountered a problem when using the yedit module. First, I executed the file module to modify the permissions of a file and changed it to 0600. Then I executed the yedit module to inject a key into this file, and the result was this file. The permissions changed to 0644 again.
Will the yedit module modify the file permissions after execution?
Example:
At first, the permission of /etc/origin/master/master-config.yaml are 0644
Hi, I recently encountered a problem when using the yedit module. First, I executed the file module to modify the permissions of a file and changed it to 0600. Then I executed the yedit module to inject a key into this file, and the result was this file. The permissions changed to 0644 again.
Will the yedit module modify the file permissions after execution?
Example:
At first, the permission of
/etc/origin/master/master-config.yaml
are 0644Then ,I execute the task below to modify file permission.
and sucess.
After that, I execute the task below to modify file content.
With the file content changed, the permissions of the file also changed.
I know I can reverse the order of tasks, but my scenario here is not recommended.
Is there any other way to avoid this?
The text was updated successfully, but these errors were encountered: