Displaying 20 results from an estimated 500 matches similar to: "Patch to ignore exluded files."
2002 Jul 24
0
couple of minor fixes to rsync 2.5.5
Dear friends!
I really appriciate the great job you did on rsync package and hope for its
further improvement and development. It works great in our pretty complex
environment and helps us a lot in our daily duties.
But we've run into couple of small inconveniences.
First one:
We use rsyncd to propagate a tree of html files among several web-servers.
That files are generated on the fly and
2002 Mar 28
1
rsync raising an IO error for an excluded file
Hi,
when syncing from windows NT/cygwin to linux usimg rsync 2.5.2 I get the following error:
readlink pagefile.sys: Permission denied
IO error encountered - skipping file deletion
pagefile.sys is however in the exclude-list, so I think rsync shouldn't care that it can't stat the file.
The code fragment responsible is
if (readlink_stat(fname, &st, linkbuf) != 0) {
2001 Nov 13
2
direct write patch
I have attached a patch that supports a new "--direct-write" option.
The result of using this option is to write directly to the destination
files, instead of a temporary file first.
The reason this patch is needed is for rsyncing to a device where the
device is full or nearly full.
Say that I am writing to a device that has 1 Meg free, and a 2 meg file
on that device is out of date.
2010 Jun 15
3
about rsyncing of block devices
Hiya,
I can see it's a regular subject on this list.
I, like others wanted to use rsync to synchronise two block
devices (as it happens one lvm volume and one nbd device served
by qemu-img on a remote host from a qcow2 disk image so that I
can keep the old versions)
As I couldn't find any report of it being done successfully,
I'm just sharing my findings as it might benefit others.
1999 May 24
3
Long hesitation with Win95 OSR2 client
Server Specifics:
#uname -a
Linux denali 2.0.35 #1 Thu Jul 23 14:01:04 EDT 1998 i686 unknown
#rpm -q samba
samba-2.0.3-19990228
using encrypted passwords...
Problem Client Specifics:
Windows 95 OSR2
Symptoms:
There is a long (several second) hesitation when I try to open share on the
samba server. Example: Drive U: is mapped to the user shares. If I
double-click drive U: under My
2023 Jul 15
1
Fwd: ComputerSecureChannel -Verbose False since windows 10/11 update 07/2023
On Thu, Jul 13, 2023 at 11:47?AM Bo Kersey <bo at vircio.com> wrote:
> The patch on Windows Server 2012 R2 that does the same thing as kb5028166
> is KB5028228
>
>
> ------------------------------
>
> *From: *"Philippe LeCavalier" <support at plecavalier.com>
> *To: *"Bo Kersey" <bo at vircio.com>
> *Cc: *"samba" <samba
2014 Mar 31
1
Unix Password Sync
Does unix password sync still work in Samba 4.1.6?
I'm trying to debug setting passwords on a system... I have this in smb.conf
passdb backend = samba_dsdb
passwd program = /usr/local/sbin/passtest.sh %u
passwd chat = *password* %n\n
passwd chat debug = Yes
unix password sync = Yes
My passtest.sh script is very simple...
#!/bin/bash
set -e
user=$1
2013 Sep 14
2
samba4 adding an index to sam.ldb
I have a large installation >20k users. We're using samba4 for AD Authentication, and also email address validation. I'm trying to edit the @INDEXLIST in sam.ldb to add an index on otherMailbox to speed up searches (0.05 sec for indexed, vs 2.5 sec for non-indexed searches) I'm finding that when I use ldbedit to do this, it appears to add the additional @IDXATTR. However, when I
2011 Feb 24
1
osx 10.6 strange rsync errors
I've recently encountered this issue which was discussed here about a year ago.
I'm not sure if anyone has a fix for this, but I thought I would post my workaround here.
Since the topic is old, I'm summarising the problem .. basically it involves rsync creating large numbers of files with a leading ".." when syncing to an apple network share via afp.
The essence of the
2004 Feb 17
1
[patch] Make robust_rename() handle EXDEV.
All callers of robust_rename() call copy_file() if EXDEV is received. This
patch moves the copy_file() call into robust_rename().
Patch Summary:
-12 +1 backup.c
-15 +2 rsync.c
-9 +33 util.c
-------------- next part --------------
patchwork diff util.c
--- util.c 2004-02-17 09:58:44.000000000 -0500
+++ util.c 2004-02-17 10:21:22.000000000 -0500
@@ -355,16 +355,40 @@
1999 Jul 19
2
Cross Router Browsing
Hi, I'm running 2.04b on two RH 5.2 boxes (A + B). The boxes are control
separate domains and have a router in between them. I would like for the
domain controlled by A to show up in browse list on B.
I've tried using remote announce on A to broadcast on the other side of the
router, but domain A does not show up.... It seems to me that WINS (nmbd)
should be able to hold
2023 Jul 13
1
Fwd: ComputerSecureChannel -Verbose False since windows 10/11 update 07/2023
The patch on Windows Server 2012 R2 that does the same thing as kb5028166 is KB5028228
> From: "Philippe LeCavalier" <support at plecavalier.com>
> To: "Bo Kersey" <bo at vircio.com>
> Cc: "samba" <samba at lists.samba.org>
> Sent: Thursday, July 13, 2023 10:43:55 AM
> Subject: Re: [Samba] Fwd: ComputerSecureChannel -Verbose False
2014 Mar 26
1
Managing Samba4 shares from Windows "Security Tab Missing"
When I try to manage samba shares from windows, I cannot reliably get the Security Tab to show up. I have tried many reprovisions, sometimes it works, sometimes not. I cannot figure out what I'm doing wrong.
How the domain is provisioned...
samba-tool domain provision \
--domain=avails \
--host-name=fs.avails.com \
--host-ip=10.2.2.1 \
--adminpass='not2forget!' \
2003 May 21
2
patch to avoid race condition in rsync 2.5.6
There is a small race condition in rsync 2.5.6. When the transfer is
finished, and the file is moved into place, there is a short time
period where the new file is in place with the wrong permissions.
When using rsync on a busy email server to replace the exim config
file with a new file, exim will produce several complaints in that
short period. This small patch fixes the problem, by making
2005 Jul 26
1
[patch] paranoid checksum checking
The attached patch provides an additional check for the checksumming
mode to ensure that a file that is actually written out to disk can be
read back and has the same MD4 sum as the file on at the originating
location.
Regards,
Nick.
-------------- next part --------------
*** rsync-2.6.6pre1/receiver.c 2005-04-14 02:42:13.000000000 +0100
--- rsync-new/receiver.c 2005-07-26
1999 Jul 19
0
Cross Domain Browsing (More Details...)
List,
I'm trying to figure out how to get access to remote shares.... I have two RH
5.2 boxes running 2.04b separated by routers (pecan the VIRCIO lmb and shipe
the COMMUNITY lmb)... I turned on remote browse sync to get the browselist
from COMMUNITY onto VIRCIO. The COMMUNITY domain shows up on VIRCIO, but it
is empty...
I don't know, but I think that this could be security
2003 Oct 06
2
Patch to revive tmpfiles
This is a patch to fix one annoyance of having rsync processes race:
I usually keep our servers synced with the following script, run by cron.
#!/bin/sh
lockfile -r 2 -l 1000 /tmp/synchome.lock || exit 1
rsync -e ssh -avHP --delete zorro01:/home/\* /home >/dev/null
rm -f /tmp/synchome.lock
--
Sometimes my users (including myself) are in a hurry and syncronise files and directories in their
2007 Nov 10
3
Funny issue with chroot + symlink outside chroot
Hi,
The problem I found is not in what rsync, but on the error handling:
How to reproduce:
On server side I setup a tree and share using rsync + xinetd, of course, for
security reason I use chroot option.
Now I push this symlink:
lrwxrwxrwx 1 root root 4 nov 10 16:28 horsroot -> /bin/
Now I try to do:
./rsync -avPH --copy-unsafe-links draco::test/ /tmp/rsyncdest/
(Of course the
2004 May 10
2
read error produces null-byte-filled destination file
I've run into a bug in the IO handling when reading a file. Suppose I
have a file that lives on an NFS filesystem. That filesystem is NOT
being exported with auth=0 permissions. So, if I try to access a file
as root, it successfully opens the file, but subsequent reads fail with
EACCES. This produces a destination file full of null bytes. I
noticed this with 2.5.7, but checked 2.6.2 as
2006 May 18
1
Partial files left on SIGINT
Hi,
As the man page says, the --partial flag is to "keep partially
transferred files". I'm assuming if I don't have partial flag any
partially transferred files should be deleted. However this is not what
I'm seeing.
Example:
(Using a big file so that rsync times a while to run. This gives me time
to hit CTRL-C for the SIGINT).
> mkdir example
> dd if=/dev/zero