itamae-kitchen / itamae

Configuration management tool inspired by Chef, but simpler and lightweight. Formerly known as Lightchef.

Home Page:https://itamae.kitchen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Editing remote file fails when the file permission is 600 even if --sudo flag is used.

wafrelka opened this issue · comments

Editing remote file using file resource fails when the target file is owned by another user (i.e. different from the specified user by --user flag) and its permission is 600, even if --sudo flag is used.
The file is editable by changing its permission to 666 before editing, but that is inconvenient.

The log is here: https://gist.github.com/wafrelka/8f44df5592fa38366d15151b79a80fe9
Version: Itamae v1.9.6