Re: files are copied but setting time stamp fails

2005-10-12 Thread Matt McCutchen
On Wed, 2005-10-12 at 12:08 -0700, Wayne Davison wrote:
> Setting the current time may be allowed where setting an arbitrary
> time is not (for instance, I know of an OS where directories are treated
> that way).

On Linux, you only need to be able to write a file to set its access and
modification times to the current time, but you need to own it to set
its times arbitrarily, as rsync does when preserving times.  This makes
me think that rsync can write the destination files but doesn't own
them.

You said you are using vfat, which explains everything.  Vfat cannot
store ownership, so all of the files on a vfat partition have the same
user and group owners; these owners can be set via the "uid" and "gid"
mount options.  Other users (like the one rsync is running as) might
have write permission, but even if they create files, those files will
belong to the partition-wide user owner.

If you want to preserve times, you should change either the user running
rsync or the user owning all the files on the partition so that they
match, or you should use a different filesystem.
-- 
Matt McCutchen, ``hashproduct''
[EMAIL PROTECTED] -- http://mysite.verizon.net/hashproduct/

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Vanished Files issue/enhancement

2005-10-12 Thread Eberhard Moenkeberg

Hi,

On Wed, 12 Oct 2005, Bill Crowell wrote:


First of all, cudos on rsync 2.6.6! It is running exceptionally well.

I'm using a script executed by cron to keep warm-backup servers in sync with 
the primary server. The execution is set to run every 5 minutes. Like any 
good programmer, this process is *very* paranoid and uses 'wall' to notify 
the users if any error occurs during the transmissions.


This is working extremely well. We've already done an emergency failover to 
the warm-backup servers with an acceptable amount of data loss - mostly 
nothing!


I have found; however, a race condition exists between users and rsync that 
causes a 'vanished file' error. This race condition is exacerbated when the 
link speed between the systems is slow such as a T1.


rsync -avpozO -e ssh /somedirectory/  backupserver:/somedirectory/

During normal system operation, users are allowed to delete files that they 
own in 'somedirectory'. This is especially true in /home. When rsync is 
instantiated, the file list is created and the transfer begins. The problem 
comes up when a user deletes a file during the transfer. Rsync exits 24 and 
this causes the paranoia messages to go out.


Reading the documentation, I see no method or option to deal with this 
situation.


I request an option flag '--ignore-vanished' to be added. This flag would 
disable exit 24. With the -v option, vanished files would be described as 
"file xxx Vanished - Ignored" so it still may be seen in logs.


This is not a race condition.
rsync will continue till the end, and then just give exit code 24.
It is the same with 23.
So consider these exit codes as "fulfilled".

Cheers -e
--
Eberhard Moenkeberg ([EMAIL PROTECTED], [EMAIL PROTECTED])
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Vanished Files issue/enhancement

2005-10-12 Thread Bill Crowell

Hi Rsync/Samba team,

First of all, cudos on rsync 2.6.6! It is running exceptionally well.

I'm using a script executed by cron to keep warm-backup servers in sync 
with the primary server. The execution is set to run every 5 minutes. 
Like any good programmer, this process is *very* paranoid and uses 
'wall' to notify the users if any error occurs during the transmissions.


This is working extremely well. We've already done an emergency failover 
to the warm-backup servers with an acceptable amount of data loss - 
mostly nothing!


I have found; however, a race condition exists between users and rsync 
that causes a 'vanished file' error. This race condition is exacerbated 
when the link speed between the systems is slow such as a T1.


rsync -avpozO -e ssh /somedirectory/  backupserver:/somedirectory/

During normal system operation, users are allowed to delete files that 
they own in 'somedirectory'. This is especially true in /home. When 
rsync is instantiated, the file list is created and the transfer begins. 
The problem comes up when a user deletes a file during the transfer. 
Rsync exits 24 and this causes the paranoia messages to go out.


Reading the documentation, I see no method or option to deal with this 
situation.


I request an option flag '--ignore-vanished' to be added. This flag 
would disable exit 24. With the -v option, vanished files would be 
described as "file xxx Vanished - Ignored" so it still may be seen in logs.


Regards,

Bill

--
William G. Crowell, VP & CTO
Crowell Systems
4235 South Stream Blvd Suite 100
Charlotte NC 28217
704.665.2000 fax 704.665.2180 


--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: files are copied but setting time stamp fails

2005-10-12 Thread Wayne Davison
On Wed, Oct 12, 2005 at 11:03:34AM +0300, Nick Demou (enLogic) wrote:
>   $ echo foo > .1.QKjE7e
>   $ touch .1.QKjE7e

Setting the current time may be allowed where setting an arbitrary
time is not (for instance, I know of an OS where directories are treated
that way).  If your "touch" command has a -t or an -r option, try using
one of those to see if it gives an error.  If it does not, you can run
it under strace (or whatever your system-call tracing program is named)
to see what system call is being used successfully.

..wayne..
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Do You Like PendnySt0cks

2005-10-12 Thread Phyllis Hobbs
Company Profile:

CEO AMERICA INC.

Symbol: CEOA . pk
Recent Price: $3.00
Expected Trading Range: $5.50 - $6.00 (post split)
Shares Outstanding: 35M (est.)
Float (est.): 5M



This st0ck has just started a Major PR Campaign!!
How will it react to th0usands of investors
in the know now?

Could this be some fast cash?
We are expecting a explosion in the price.
Don't wait act early watch this one trade Friday
and ALL following days!!

*Read Below Why we think this one is going to take
off this week with this major PR campaign.

Recent News Headlines Late September:

  1. CEO America announces 3 for 1 forward split.

  2. Sales and marketing expertise joins CEO America

  3. Creditz used to fund local education foundation

*Goto Your Favorite Financial Site to read the Full Stories!

CEO America, Inc. is the sole licensee of the Creditz
Digital Currency System - Creditz is the world's first
digital currency, transforming cash, reward points, and
miles into digital form enabling secure transactions in
retail stores, online, and wireless.

CEOA believes it will generate approximately $45M in
revenue it's first full year of operations as a Digital
Currency Vendor, commencing in 2006 and will produce
$25OM, with net income of $35M in calendar 2007.

Partners & Alliances:
IBM
MERRILL LYNCH
FIRST DATA
VERIFONE
SCRIP ADVANTAGE
*In negotiations with national retailers

Editor's Pick:

We have selected CEOA as an editor's pick based on the
following fundamentals:

1. Strong Management
2. World-Class Partners
3. Cutting Edge Technology
4. Secure Financing
5. High Consumer Demand
6. Undervalued (Post-Split)

CEOA is postured to dominate the retail community in the US
and internationally.

Researchers say "Creditz is fast becoming the country's foremost
choice of currency in e-commerce, a $2O_bill10n a year industry."



This is a marketing and information firm, and is n0t a f1nancial
analyst. This report is based on independent analysis but also
relies on information supplied by sources believed to be reliable.
This report may or may not be the opinion of CEOA's management.
We have been retained to reprint and distribute this information.
We have not been compensated by CEOA. Compensation was made by a
third party investor of CEOA The Market Invest0r_Al3rt and its
officers and directors may from time to time buy and sell CEOA
shares in the open market without notice. Ongoing technical
analysis may from time to time cause the target price to fluctuate
  without notice. The information contained in this report is not
intended to be, and shall not constitute, an offer to sell or
s0licitation of any offer to buy any security. This report contains
f0rw4rd-l00k1ng_st4tem3nts, which involve risks and uncertainties
that may cause actual results to differ materially from those
set forth in the f0rw4rd-l00k1ng_st4tem3nts.It is intended for
information only. Consult with your financial advis0r about CEOA.
To be taken off our data base please Em4il us [EMAIL PROTECTED] 

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)

2005-10-12 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=2957





--- Additional Comments From [EMAIL PROTECTED]  2005-10-12 08:56 ---
It really seems to be a cygwin bug. Sorry for not trying TCP before...
Thanx again


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA contact.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)

2005-10-12 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=2957





--- Additional Comments From [EMAIL PROTECTED]  2005-10-12 07:55 ---
Seems as using a rsync daemon via TCP solves the problem for me. I have not
encountered any of the afore-mentioned problems so far with it. 

Thank you very much for this information.

Cheers,
Peter

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA contact.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


RE: Update: Re: Help with synchronizing two directories on remoteservers

2005-10-12 Thread Tevfik Karagülle
Can you simply run -netstat- on your PCs and check if you can see something 
listening on port 22 ?

It may also be helpful if you can be more specific about what platforms you 
experience that problem.


Maybe your ssh daemon is being activated via tcp-wrappers and there is 
something blocking between ?

Rgrds Tev

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of symbulos - ethical services (external mailing lists)
> Sent: 10. oktober 2005 19:03
> To: rsync@lists.samba.org
> Subject: Update: Re: Help with synchronizing two directories 
> on remoteservers
> 
> Strangely we can login as ssh from the pc here, but we cannot 
> login as ssh from the other remote server (ssh: 
> connect to host serverb port 22: Connection refused).
> 
> What is happening? I do not understand.
> 
> Corrado 
> 
> On Monday 10 Oct 2005 17:44, Paul Slootman wrote:
> > On Mon 10 Oct 2005, symbulos - ethical services (external
> mailing lists) wrote:
> > > What I do is to go to one of the server (server a) as root using 
> > > ssh, navigate to the directory, and write
> > >
> > > rsync -avz [EMAIL PROTECTED]:directory/ ./
> > >
> > > This is the error we get
> > >
> > > ssh: connect to host 80.81.131.173 port 22: Connection refused
> >
> > This simply means that ssh is not running as a daemon on the remote 
> > system (serverb). Ensure that you can login as "username" 
> via ssh on 
> > that system before trying rsync over ssh.
> >
> >
> > Paul Slootman
> 
> --
> symbulos - ethical services for your organisation website 
> www.symbulos.com
> 
> --
> To unsubscribe or change options: 
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: 
> http://www.catb.org/~esr/faqs/smart-questions.html
> 


smime.p7s
Description: S/MIME cryptographic signature
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Rsync over SSH-tunnel A->B->C using daemon on C

2005-10-12 Thread Stefaan Lhermitte

Dear,

I'm trying to put up a scripts to synchronize my computers (HOST_A and 
HOST_C). I can connect both via HOST_B to avoid the firewall.

I am trying to work with the rsync daemon to avoid hanging.

I tried to figure out the mailinglist + FAQ, how to do it, but it seems 
I misunderstand something, since all your previous help did not work for 
me.

I get the following error when executing the rsync-step:

Failed to connect to HOST_C: Connection timed out (116).

The scipt I now use is:

# On HOST_A the following commands are executed

# Start rsync daemon on HOST_C and check rsyncd.conf file
ssh HOST_B ssh HOST_C rsync --daemon
ssh HOST_B ssh HOST_C cat /etc/rsycd.conf

# Create SSH-tunnel
ssh -fN -l myusername -L 8873:HOST_B:8873 HOST_C

# Rsync folders
rsync -auv rsync://HOST_C:8873/module_on_HOST_C/folder_on_HOST_C 
/folder_on_HOST_A


# Close rsync daemon on HOST _C and SSH-tunnel
ssh HOST_C killall rsync
killall ssh

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Update: Re: Help with synchronizing two directories on remote servers

2005-10-12 Thread Paul Slootman
On Mon 10 Oct 2005, symbulos - ethical services (external mailing lists) wrote:

> Strangely we can login as ssh from the pc here, but we 
> cannot login as ssh from the other remote server (ssh: 
> connect to host serverb port 22: Connection refused).

I don't know what "the pc here" is, but this sounds like perhaps serverb
has two interfaces, and ssh is only listening to one of them.


Paul Slootman
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: files are copied but setting time stamp fails

2005-10-12 Thread Nick Demou (enLogic)

Wayne Davison wrote:

On Fri, Oct 07, 2005 at 04:57:27PM +0300, Nick Demou (enLogic) wrote:

rsync: failed to set times on "/media/MOB1/m/test/.1.QKjE7e": Operation 
not permitted (1)



The "Operation not permitted" error is from your OS -- you'll need to
figure out why your OS does not allow a utime()/utimes() call to
succeed.
Wayne you are probably right but the strange thing is that I can do the 
following without any error at all:


$ cd /media/MOB1/m/test
$ echo foo > .1.QKjE7e
$ touch .1.QKjE7e

so it must be something tricky and I am just spending my first weeks 
with linux on my desktop (likely I have a little bit of a unix 
background and alot of expirience in programming though most of it in 
strange languages for microcontrolers)


Any ideas on how to investigate it?



..wayne..



--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html