find /start/path -user=olduser -exec /usr/bin/chown olduser newuser {} \; root has to run this because only root can chown.
You might want to run find /start/path -user=olduser -ls just to make sure you catch all the files you want and only the files you want first. Have fun! Kai. "He who angers you conquers you." -- Elizabeth Kenny > -----Original Message----- > From: Rob Hefty [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 27 November 2002 10:26 AM > To: [EMAIL PROTECTED] > Subject: Permissions change after a retrieve > > Hello all, > > Server version: 4.2.2 > Aixnode1: TSM - 4.1.0 ,OS - 4.3.3.06 > Aixnode2: TSM - 4.2.2 ,OS - 5.1.02 > > We recently retrieved a file from Aixnode1 to Aixnode2 via > the client gui. > The two nodes are not exactly the same in users groups in > that the owner of > the original file doesn't exist on Aixnode2 and will not. Is > there any way > to specify a user in the retrieval process so we don't have > to go through > every object and change ownership on it? > > One idea I had was to create these users on Aixnode2 just for > the purpose of > the retrieval and then if there was a command to change > ownership on ALL > files owned by this user to another we could then eliminate that user. > Unfortunately my Aix background is quite limited. > > Any help is appreciated! Thanks. > > Rob >