Re: Strange sender log file characters

2008-08-30 Thread Matt McCutchen
On Sat, 2008-08-30 at 00:52 -0700, dfirth wrote: > Is there a reason I get the following strange characters in my log file? > > 2008/08/29 19:48:13 [7138] Total file size: +)*)/.+),00//,+)),( bytes > 2008/08/29 19:48:13 [7138] Total transferred file size: +)*)/.+),(*0,+-.,0' > bytes > 2008/08/29

Re: Strange sender log file characters

2008-08-30 Thread Wayne Davison
On Sat, Aug 30, 2008 at 12:52:42AM -0700, dfirth wrote: > Is there a reason I get the following strange characters in my log file? What rsync version are you using? I've never seen that before. Also, which of the various PRINTF defines are defined in your config.h file? % fgrep PRINTF config.h

Re: most recent updated files on destination

2008-08-30 Thread Matt McCutchen
On Sat, 2008-08-30 at 19:18 +0200, Tyler Durden wrote: > I want to synchronize two local directories, but if in the destination > directory there are some files that has most recent modified time than > the source directory I want that the source old files than the > destination will be updated. I

Re: running rsync daemon as unprivileged

2008-08-30 Thread Keld Jørn Simonsen
On Sat, Aug 30, 2008 at 12:58:10PM -0400, Matt McCutchen wrote: > On Sat, 2008-08-30 at 18:23 +0200, Keld Jørn Simonsen wrote: > > I run a mirror service where for gentoo I run rsync as a daemon. > > Currently the daemon runs root to get the 873 port opened. > > And when transfers then run, they ru

most recent updated files on destination

2008-08-30 Thread Tyler Durden
Hello, I want to synchronize two local directories, but if in the destination directory there are some files that has most recent modified time than the source directory I want that the source old files than the destination will be updated. Is it possible? Thanks for helping me. Best regards, --

Re: logging rsync transfers in processable format

2008-08-30 Thread Matt McCutchen
On Sat, 2008-08-30 at 18:25 +0200, Keld Jørn Simonsen wrote: > For my rsync daemon, I would like it to log in a format that I could run > some stats on, eg by webalizer that I use for http and ftp transfers. You can customize the format with the "log format" daemon parameter (see the rsyncd.conf(5

Re: running rsync daemon as unpribileged

2008-08-30 Thread Matt McCutchen
On Sat, 2008-08-30 at 18:23 +0200, Keld Jørn Simonsen wrote: > I run a mirror service where for gentoo I run rsync as a daemon. > Currently the daemon runs root to get the 873 port opened. > And when transfers then run, they run as nobody. > > I would like the rsync daemon to connect to 873 (as ro

running rsync daemon as unpribileged

2008-08-30 Thread Keld Jørn Simonsen
Hi I run a mirror service where for gentoo I run rsync as a daemon. Currently the daemon runs root to get the 873 port opened. And when transfers then run, they run as nobody. I would like the rsync daemon to connect to 873 (as root) then possibly do a chroot and then run always as something els

logging rsync transfers in processable format

2008-08-30 Thread Keld Jørn Simonsen
For my rsync daemon, I would like it to log in a format that I could run some stats on, eg by webalizer that I use for http and ftp transfers. Is that doable? best regards keld -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://

Re: rsync and kerberos

2008-08-30 Thread Bacchella Fabrice
Le 30 août 08 à 16:33, Simo Sorce a écrit : If the permissions on the file is strict and allow access only to the respective http and ftp user it means that compromise of one service does not allow to get access to the keytab of another service. Ok, that's me point I missed about that the pr

Re: transfer stats wrong?

2008-08-30 Thread dfirth
Try --size-only ?? Denys Dan Letkeman wrote: > > Hello, > > I have a set of files on my laptop running xp. I'm using > cwRsync_2.0.10 and syncing to a Netware Server. Everything appears to > be working fine, but the stats don't look right. When I run the sync > for the first time it say

Strange sender log file characters

2008-08-30 Thread dfirth
Is there a reason I get the following strange characters in my log file? 2008/08/29 19:48:13 [7138] Number of files: 42321 2008/08/29 19:48:13 [7138] Number of files transferred: 78 2008/08/29 19:48:13 [7138] Total file size: +)*)/.+),00//,+)),( bytes 2008/08/29 19:48:13 [7138] Total transferred

Re: rsync and kerberos

2008-08-30 Thread Simo Sorce
They are used to identify a specific service on a machine. using a different prefix you end up with a different principal name. For example: HTTP/[EMAIL PROTECTED] and FTP/[EMAIL PROTECTED] Different principal names means different kerberos secrets, and the possibility to use different kerberos ke

Re: rsync and kerberos

2008-08-30 Thread Bacchella Fabrice
Ok, that's really a question for which I have no answer. Do you have any links that explain the purpose of host/ nfs/ and all ? I don't see exactly what are there for. Le 30 août 08 à 07:00, Simo Sorce a écrit : Reading your patch, one quick comment. It seem to me you define host/ in RSYN