[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ..rsync: opendir "/.~tmp~" (in debian) failed: Permission denied (13) ???



(Please keep sending the mail to the list only, always better to share
information, and it is nicer for my mail filters :)

On Sun, Jan 25, 2009 at 12:29:33AM +0100, Arnt Karlsen wrote:
> On Sat, 24 Jan 2009 16:59:27 +0100, Simon wrote in message 
> <20090124155927.GL11409@dedibox.ebzao.info>:
> 
> > On Fri, Jan 23, 2009 at 11:19:04PM -0200, Carlos Carvalho wrote:
> > > Arnt Karlsen (arnt@c2i.net) wrote on 24 January 2009 00:36:
> > >  >..what's the deal with these "/.~tmp~"
> > >  >in /debian/.|dist|doc|indices??? 
> > 
> > .~tmp~ directories are used by rsync --delay-updates option, and
> > obviously the content is not readable, because there files are not
> > intended to be exposed since they are temporarly used in order to
> > improve "sync atomicity".
> > 
> > >  >rsync: opendir "/dists/etch-proposed-updates/main/source/.~tmp~" 
> > >  >(in debian) failed: Permission denied (13) 
> > > [removed]
> > >  >..yes, the old script, no public site yet, working nice all 
> > >  >the way until now.
> > > 
> > > Yes, that's exactly the answer :-) The official script doesn't have
> > > this problem. And it's even explained in the comments...
> > 
> > As Carlos says, the old and deprecated anonftpsync is fixed for that
> > for a long time (by excluding these directories).
> 
> ..good, thanks, it should work as a stop gap. :o)

The last versions of anonftpsync *does work*, you use an old version of
an old script :) (fixed in 1.25 two years ago, today cvs version is 1.43)
 
> > Anyway, as advertised on debian-mirrors-announce, ftpsync scripts et
> > is the recommended way to perform Debian mirroring now :
> > http://lists.debian.org/debian-mirrors-announce/2008/11/msg00001.html
> 
> ..to plug the stop gap, can the new script set, use the same 
> settings to keep my mirror structure as my old anonftpsync?  

The mirror structure is the same.

> Things to look out for, so I don't wind up with my /home 
> chock full and /var/www/debian untouched like a virgin? 

The link and the README contained in the ftpsync archive/git :)
Most important variables are TO, MIRRORNAME, RSYNC_HOST, RSYNC_PATH,
ARCH_EXCLUDE.

-- 
Simon Paillard


Reply to: