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