Skip to content

dotlockfile(1) swallows EPERM errors on lockfile removal #4

@strugee

Description

@strugee

Testcase:

$ ./dotlockfile foo.lock sudo chattr +i foo.lock
$ echo $?
0
$ file foo.lock
foo.lock: ASCII text
$ rm foo.lock
rm: cannot remove 'foo.lock': Operation not permitted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions