We are migrating to a new server (with new database) and I need to re-affect files ownerships as we synchronize files with rsync so the migration should be as smooth as possible.
So every files now belong to admin (user id 1). What is the user owner field for each file ? I've been unable to figure it out myself. Basically I just need to make the database coherent as follows :
<stor dir>/1/blah.mp3 should be owned by user id 1 (admin) <stor dir>/11/blahblah.mp3 should be owned by user id 11 (me)
And so on. Any idea? Could'n find anything on that subject.