Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tail via sftp with root user not working on non root files #607

Closed
svennissel opened this issue Apr 19, 2022 · 0 comments
Closed

Tail via sftp with root user not working on non root files #607

svennissel opened this issue Apr 19, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@svennissel
Copy link
Collaborator

I have a file on a remote server witch owned not by root:
-rw-r----- 1 tomcat8 tomcat8 8.0M Apr 19 20:40 olv.log
I can open this file via sftp, but the tail modus does not works.

I found this in logfile:
20:43:43.672 [Thread-12] WARN p.o.l.l.basic.LoadingRunnable - Exception in tailing loop: File "sftp://server.com/root/olv.log" is not readable.

If the file is owned by root there is error.

The bug was found by @nuessgens

The reason is a bug in apache vfs: https://issues.apache.org/jira/browse/VFS-818

If we have a workaround for OtrosLogViewer this will be fine.

@svennissel svennissel added the bug label Apr 19, 2022
@svennissel svennissel self-assigned this Apr 19, 2022
nuessgens pushed a commit to svennissel/otroslogviewer that referenced this issue Apr 20, 2022
nuessgens pushed a commit to svennissel/otroslogviewer that referenced this issue Apr 20, 2022
@svennissel svennissel added this to the 1.4.17 milestone Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant