ansible-role-yedit icon indicating copy to clipboard operation
ansible-role-yedit copied to clipboard

Add ability to edit files in read-only directories.

Open kestel opened this issue 3 years ago • 0 comments

For example, we have access to only one file in /etc/ directory and would like to modify it. Original library try to create a temp file inside this directory and fails because we have not enough permissions.

This PR modify original behavior to create a temp file for write in temp directory and after successfully write move in to proper location.

kestel avatar Dec 22 '20 08:12 kestel