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.
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.