Re: Wrong file ownerships after moving HDD to another computer
I think from reading this thread one can gather this is not a pretty situation.
I'm wondering how many users are actually impacted. You say this is a second drive added after install. What type of data is stored?
How many users are owning files on this drive? A recursive ls may show you how many users own files.
Output to a text file for easy reading/query.
Code:
ls -lR /mnt/secondhd > ownership.txt
I think chmod owner:group of the second drive should be all that is needed if this system were to replace the original.
If this second drive needs to move from machine to machine, I would suggest a reinstall of your backup server. Create an image of the primary disk of system 1 using something like dd or clonezilla. In my opinion this will be a better starting ground and likely less work.
Nothing is ever easy, but if it is difficult you must be doing it wrong.
Bookmarks