Hi,
First I would like to say that it's an excellent tool for glftpd you coded here. Thanks for sharing it.
In an attempt to use it to update a dirlog, I've found out that it's following symlinks even I'm not using -y, --followlinks Follow symbolic links (default is no)
Here is an example:
root@box:# chroot /glftpd /bin/glutil --folders=/etc/glutil.folders.incoming -r -u -v
NOTICE: /ftp-data/logs/dirlog: explicit write pre-caching enabled
NOTICE: /ftp-data/logs/dirlog: created data backup: /ftp-data/logs/dirlog.bk
NOTICE: requested dirlog update only
SCANNING: '0DAY', depth: 2
DIRLOG: /site/incoming/0DAY/today/SOME.DIR1 - 217 Mbytes in 14 files - created 03 Apr 2017 00:43:55 by 200.1100 [0]
DIRLOG: /site/incoming/0DAY/today/SOME.DIR2 - 399 Mbytes in 23 files - created 03 Apr 2017 00:47:38 by 200.1100 [0]
DIRLOG: /site/incoming/0DAY/today/SOME.DIR3 - 2 Mbytes in 3 files - created 03 Apr 2017 14:16:56 by 245.200 [0]
... etc
today in this case is a symlink
glutil.folders file says :
Any idea what I'm doing wrong ?
Thanks!
Hi,
First I would like to say that it's an excellent tool for glftpd you coded here. Thanks for sharing it.
In an attempt to use it to update a dirlog, I've found out that it's following symlinks even I'm not using
-y, --followlinks Follow symbolic links (default is no)Here is an example:
todayin this case is a symlinkglutil.folders file says :
Any idea what I'm doing wrong ?
Thanks!