Skip to content

Support not keeping tail file handles open #11147

@david-garcia-garcia

Description

@david-garcia-garcia

Is your feature request related to a problem? Please describe.

When tailing files from SAMBA/SMB shares, due to how the protocol works, the tailed files cannot be deleted (they can be truncated though).

Even though there seems to be some support for the FILE_SHARE_DELETE flag, this only works on Windows, and there is no POSIX equivalent.

On local file systems this is not an issue, as the files can be deleted without problems.

Describe the solution you'd like

Add a new option to tail input so that file handles are not kept open.

Describe alternatives you've considered

Additional context

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