Displaying 3 results from an estimated 3 matches for "pahud".
Did you mean:
pad
2002 Apr 16
3
how to take least risk on rsync dir
...ere's somethig like
rsync -av dir_A dir_B_tmp && \
mv dir_B dir_B.bkup &&
mv dir_B_tmp dir_B
This small script can ensure the minimal change time between 2 versions
of archive. Is this built in the native rsync function? Do I have to
write scripts myself?
--
Patrick Hsieh <pahud@pahud.net>
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg
2002 Oct 29
0
Fwd: Re: Fwd: rsync and unlink permission
...11% /
/dev/hda1 91556 4988 86568 6% /boot
shmi:/var/www 37980892 1694152 36286740 5% /var/www
If I use "-T /tmp", the error also occurres. Seems rsync will unlink the
original file before copy the new one over. Idea?
$ rsync -a -T /tmp home::www/pahudtestfile ./
unlink pahudtestfile: Permission denied
copy /tmp/.pahudtestfile.v4pXKW -> pahudtestfile : Permission denied
$ rsync --version
rsync version 2.5.6cvs protocol version 26
Copyright (C) 1996-2002 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit fil...
2002 Oct 28
2
Fwd: rsync and unlink permission
...user "foo". Sincen
"foo" has no write permission under /var/www, he cannot rsync from remote
server to the local filesystem because rsync will try to make temp file and
unlink the original file before writing over it. Is there any solution to
this problem?
--
Patrick Hsieh<pahud@ezplay.tv>
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91