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

Re: ACK! file ownership screwup!



>> 
>> --envbJBWh7q8WU6mo
>> Content-Type: text/plain; charset=us-ascii
>> Content-Transfer-Encoding: quoted-printable
>> 
>> Ok now I pulled a "Good One".
>> My hard dirve "died" 2 days ago...it was at 3 am...so I went to bed=20
>> The next day I boguht a new drive on my way home from work (just slightly
>> larger one) My thought was to restore form my month old backups and be
>> done with it...
>> 
>> to my surprize the old drive worked again!. After the failure last night
>> (system that had been up for a while had IRQ timeouts and failed to read th=
>> e=20
>> drive..then it wouldn't boot again afterwards on cold boot)
>> 
>> I tried to backup to tape, but it failed again. SO I rebooted again
>> This time I did a cp -rf to the NEW drive...then I tape backuped from there
>> (so I could repartition and restore the new drive)
>> 
>> You may see my error...cp -rf by root...and EVERY FILE becomes owned BY ROO=
>> T!

 If you can make another attempt to copy, then you might want to use the -p
option
 of cp. Meaning to preserve the files ownerships etc.

	--j



--  
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: