Displaying 1 result from an estimated 1 matches for "access_0".
Did you mean:
access_
2003 Apr 24
1
Trailing slash in destination
...to collect the logs from one of these machines, I
get the following error:
open /home/test/squidlogs//site1/.JQRG86 : No such file or directory
The problem is caused by the way rsync ignores trailing slashes in the
destination.
In the above, instead of creating the site1 directory and saving the
access_0.gz file in it as site1/access_0.gz, rsync tries to write
(temporarily) to site1/.JQRG86.
Since there is no site1 directory yet, this is not a valid Linux file
name.
The actual code that is responsible for this is the get_local_name()
function in main.c
static char *get_local_name(struct file_list...