Re: rsync not copying owner/group on some files

2001-10-30 Thread Dave Dykstra

On Mon, Oct 29, 2001 at 02:02:17PM -0800, Ian Kettleborough wrote:
 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.


I cannot reproduce it.  Please tell us your operating system and give
us a simple set of steps to reproduce it, from creating logins and groups
with specific ids and creating specific files owned by those logins and
groups.

- Dave Dykstra




Re: rsync not copying owner/group on some files

2001-10-30 Thread tim . conway

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
[EMAIL PROTECTED]
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(, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), .\n '
There are some who call me Tim?






Ian Kettleborough [EMAIL PROTECTED]
10/29/2001 06:15 PM


To:Tim Conway/LMT/SC/PHILIPS@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
[EMAIL PROTECTED]


 
 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
 [EMAIL PROTECTED]
 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(, 
 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
 .\n '
 There are some who call me Tim?
 
 
 
 
 Ian Kettleborough [EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]
 10/29/2001 03:02 PM
 
 
 To:   [EMAIL PROTECTED]
 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
 [EMAIL PROTECTED]
 
 
 
 
 
 --=_alternative 007AF6F687256AF4_=
 Content-Type: text/html; charset=us-ascii
 
 
 brfont size=2 face=sans-serifI suspect that you're copying over a nonexistent user... the name exists on the source, but not the destination. nbsp;Would preserving the numeric ids help?/font
 brfont size=2 face=sans-serifnbsp; nbsp; nbsp;--numeric-ids nbsp; nbsp; nbsp; nbsp; nbsp; don't map uid/gid values by user/group name/font
 brfont size=2 face=sans-serifbr
 br
 Tim Conwaybr
 [EMAIL PROTECTED]br
 303.682.4917br
 Philips Semiconductor - Longmont TCbr
 1880 Industrial Circle, Suite Dbr
 Longmont, CO 80501br
 Available via SameTime Connect within Philips, n9hmg on AIMbr
 perl -e 'print pack(, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), quot;.\nquot; 'br
 quot;There are some who call me Tim?quot;/font
 br
 br
 br
 table width=100%
 tr valign=top
 td
 tdfont size=1 face=sans-serifbIan Kettleborough lt;[EMAIL PROTECTED]gt;/b/font
 brfont size=1 face=sans-serifSent by: [EMAIL PROTECTED]/font
 pfont size=1 face=sans-serif10/29/2001 03:02 PM/font
 br
 tdfont size=1 face=Arialnbsp; nbsp; nbsp; nbsp; /font
 brfont size=1 face=sans-serifnbsp; nbsp; nbsp; nbsp; To: nbsp; nbsp; nbsp; nbsp;[EMAIL PROTECTED]/font
 brfont size=1 face=sans-serifnbsp; nbsp; nbsp; nbsp; cc: nbsp; nbsp; nbsp; nbsp;(bcc: Tim Conway/LMT/SC/PHILIPS)/font
 brfont size=1 face=sans-serifnbsp; nbsp; nbsp; nbsp; Subject: nbsp; nbsp; nbsp; nbsp;rsync not copying owner/group on some files/font
 pfont size=1 face=sans-serifnbsp; nbsp; nbsp; nbsp; Classification: nbsp; nbsp; nbsp; nbsp;/font
 br/table
 br
 br
 brfont size=2 face=Courier NewI am trying to use rsync 2.4.6 to try creating a backup using anotherbr
 locally connected hard disk. Thing copy, but sometimes the group is eithbr
 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/ nbsp;--delete nbsp;br
 br
 I login as root.br
 br
 br
 Any help would be appreciated.br
 br
 br
 -- br
 br
 Ian Kettleboroughbr
 [EMAIL PROTECTED]br
 br
 br
 /font
 br
 br
 --=_alternative 007AF6F687256AF4_=--
 


-- 

Ian Kettleborough
[EMAIL PROTECTED]





RE: rsync not copying owner/group on some files

2001-10-30 Thread Carey Jung



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: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of 
[EMAIL PROTECTED]Sent: Tuesday, October 30, 2001 11:10 
AMTo: Ian KettleboroughCc: 
[EMAIL PROTECTED]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[EMAIL PROTECTED]303.682.4917Philips Semiconductor - 
  Longmont TC1880 Industrial Circle, Suite DLongmont, CO 
  80501Available via SameTime Connect within Philips, n9hmg on AIMperl 
  -e 'print pack(, 
  19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" 
  '"There are some who call me Tim?" 
  


  
  Ian Kettleborough 
[EMAIL PROTECTED] 
10/29/2001 06:15 PM 
  To:   
 Tim Conway/LMT/SC/PHILIPS@AMEC cc:   
        
  Subject:Re: rsync not copying 
    owner/group on some files 

Classification: 
  Nope.. happens consistentlt. I even removed a directory at the 
  destinationand reran rsync. All the files were move, but the numeric id 
  shows insteadif the alpabetic group...no owner 
  either.Ian[EMAIL PROTECTED]  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 [EMAIL PROTECTED] 
  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(,  
  19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
   ".\n" ' "There are some who call me Tim?" 
  Ian Kettleborough 
  [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 
  10/29/2001 03:02 PM  
   To:   [EMAIL PROTECTED]
   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 [EMAIL PROTECTED]  
  --=_alternative 007AF6F687256AF4_= 
  Content-Type: text/html; charset="us-ascii"   
  brfont 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. nbsp;Would preserving the numeric ids 
  help?/font brfont size=2 
  face="sans-serif"nbsp; nbsp; nbsp;--numeric-ids nbsp; 
  nbsp; nbsp; nbsp; nbsp; don't map uid/gid values by 
  user/group name/font brfont size=2 
  face="sans-serif"br br Tim 
  Conwaybr [EMAIL PROTECTED]br 
  303.682.4917br Philips Semiconductor - Longmont 
  TCbr 1880 Industrial Circle, Suite Dbr 
  Longmont, CO 80501br Available via SameTime Connect within 
  Philips, n9hmg on AIMbr perl -e 'print pack(, 
  19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
  quot;.\nquot; 'br quot;There are some who call 
  me Tim?quot;/font br 
  br br table width=100% tr 
  valign=top td tdfont size=1 
  face="sans-serif"bIan Kettleborough 
  lt;[EMAIL PROTECTED]gt;/b/font brfont 
  size=1 face="sans-serif"Sent by: 
  [EMAIL PROTECTED]/font pfont size=1 
  face="sans-serif"10/29/2001 03:02 PM/font 
  br tdfont size=1 face="Arial"nbsp; 
  nbsp; nbsp; nbsp; /font brfont 
  size=1 face="sans-serif"nbsp; nbsp; nbsp; nbsp; To: 
  nbsp; nbsp; nbsp; 
  nbsp;[EMAIL PROTECTED]/font brfont size=1 
  face="sans-serif"nbsp; nbsp; nbsp; nbsp; cc: 
  nbsp; nbsp; nbsp; nbsp;(bcc: Tim 
  Conway/LMT/SC/PHILIPS)/font brfon