Skip to content

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

@wafrelka

Description

@wafrelka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions