rsync not copying owner/group on some files
Carey Jung
carey at itfreedom.com
Wed Oct 31 04:53:56 EST 2001
Numeric ids will show up instead of user names if you don't have a username
in the password file for a given userid. The O/S doesn't know in that case
what to display, so it just displays the raw id number. This wouldn't seem
to explain the situation in question, though, since it's a local copy.
Perhaps your source files have invalid userids from the get-go???
-----Original Message-----
From: rsync-admin at lists.samba.org [mailto:rsync-admin at lists.samba.org]On
Behalf Of tim.conway at philips.com
Sent: Tuesday, October 30, 2001 11:10 AM
To: Ian Kettleborough
Cc: rsync at lists.samba.org
Subject: Re: rsync not copying owner/group on some files
I just realized that this was a local copy, and the other symptom, numeric
uids showing on the ls, for users which exist, and some which show none at
all, indicate a problem with your operating system. The only time i've ever
seen blank uids was with a corrupt filesystem. My particular case was a
failing drive. I suppose you could fake up blank usernames by creating a
user named "asdf^h^h^h^h ", but i'm guessing that's not the case here.
Tim Conway
tim.conway at philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '
"There are some who call me.... Tim?"
Ian Kettleborough <ian at idk.com>
10/29/2001 06:15 PM
To: Tim Conway/LMT/SC/PHILIPS at AMEC
cc:
Subject: Re: rsync not copying owner/group on some
files
Classification:
Nope.. happens consistentlt. I even removed a directory at the destination
and reran rsync. All the files were move, but the numeric id shows instead
if the alpabetic group...no owner either.
Ian
ian at idk.com
>
> This is a multipart message in MIME format.
> --=_alternative 007AF6F687256AF4_=
> Content-Type: text/plain; charset="us-ascii"
>
> I suspect that you're copying over a nonexistent user... the name exists
> on the source, but not the destination. Would preserving the numeric
ids
> help?
> --numeric-ids don't map uid/gid values by user/group name
>
>
> Tim Conway
> tim.conway at philips.com
> 303.682.4917
> Philips Semiconductor - Longmont TC
> 1880 Industrial Circle, Suite D
> Longmont, CO 80501
> Available via SameTime Connect within Philips, n9hmg on AIM
> perl -e 'print pack(nnnnnnnnnnnn,
> 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
> ".\n" '
> "There are some who call me.... Tim?"
>
>
>
>
> Ian Kettleborough <ian at idk.com>
> Sent by: rsync-admin at lists.samba.org
> 10/29/2001 03:02 PM
>
>
> To: rsync at lists.samba.org
> cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
> Subject: rsync not copying owner/group on some files
> Classification:
>
>
>
> I am trying to use rsync 2.4.6 to try creating a backup using another
> locally connected hard disk. Thing copy, but sometimes the group is eith
> numeric (valid). Often the owner is not even shown.
>
> This is the command I use for rsync:
>
>
> rsync-2.4.6/rsync -arxlHpogDt /usr/ /backup/usr/ --delete
>
> I login as root.
>
>
> Any help would be appreciated.
>
>
> --
>
> Ian Kettleborough
> ian at idk.com
>
>
>
>
>
> --=_alternative 007AF6F687256AF4_=
> Content-Type: text/html; charset="us-ascii"
>
>
> <br><font size=2 face="sans-serif">I suspect that you're copying over a
nonexistent user... the name exists on the source, but not the destination.
Would preserving the numeric ids help?</font>
> <br><font size=2 face="sans-serif"> --numeric-ids
don't map uid/gid values by user/group
name</font>
> <br><font size=2 face="sans-serif"><br>
> <br>
> Tim Conway<br>
> tim.conway at philips.com<br>
> 303.682.4917<br>
> Philips Semiconductor - Longmont TC<br>
> 1880 Industrial Circle, Suite D<br>
> Longmont, CO 80501<br>
> Available via SameTime Connect within Philips, n9hmg on AIM<br>
> perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '<br>
> "There are some who call me.... Tim?"</font>
> <br>
> <br>
> <br>
> <table width=100%>
> <tr valign=top>
> <td>
> <td><font size=1 face="sans-serif"><b>Ian Kettleborough
<ian at idk.com></b></font>
> <br><font size=1 face="sans-serif">Sent by:
rsync-admin at lists.samba.org</font>
> <p><font size=1 face="sans-serif">10/29/2001 03:02 PM</font>
> <br>
> <td><font size=1 face="Arial"> </font>
> <br><font size=1 face="sans-serif"> To:
rsync at lists.samba.org</font>
> <br><font size=1 face="sans-serif"> cc:
(bcc: Tim Conway/LMT/SC/PHILIPS)</font>
> <br><font size=1 face="sans-serif"> Subject:
rsync not copying owner/group on some
files</font>
> <p><font size=1 face="sans-serif">
Classification: </font>
> <br></table>
> <br>
> <br>
> <br><font size=2 face="Courier New">I am trying to use rsync 2.4.6 to
try creating a backup using another<br>
> locally connected hard disk. Thing copy, but sometimes the group is
eith<br>
> numeric (valid). Often the owner is not even shown.<br>
> <br>
> This is the command I use for rsync:<br>
> <br>
> <br>
> rsync-2.4.6/rsync -arxlHpogDt /usr/ /backup/usr/ --delete
<br>
> <br>
> I login as root.<br>
> <br>
> <br>
> Any help would be appreciated.<br>
> <br>
> <br>
> -- <br>
> <br>
> Ian Kettleborough<br>
> ian at idk.com<br>
> <br>
> <br>
> </font>
> <br>
> <br>
> --=_alternative 007AF6F687256AF4_=--
>
--
Ian Kettleborough
ian at idk.com
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync
mailing list