Question - a customer asked:
"Is there any way with Omni\EMU to change the ownership of a home directory. Since we had to move users from a 5.1 server to NW 6.5 server with NSS volumes, I had to manually copy all the users home dirs. Now all their data is associated with my account."
Answer: EMU can be used to re-associate trustee assignments. It can't be used to change file ownership. However, you can use a combination of EMU and Excel to create a batch file that should work fine for you. The following "Omni-flagnew-owner-Home.csv" spreadsheet file shows you the end result. Following are the steps:
- Use EMU to export the user login name and home directory to a .csv file.
- Open the .csv file in Excel.
- Change the order of the columns and insert new columns as per the "Omni-flagpnew-owner-Home.csv" sample: Command, Home Directory, Sub, Name, Login Name
- Your objective is to use the Concatenate function in Excel to create the appropriate Flag command:
flag \\DATA-01\VOL1\OmniExec\Aldo\*.* /S /NAME=Aldo
Note the space at the end of the contents of the Command and Sub columns.
- Then, simply copy the G column into a text file called NewOwn.bat and run the bat file to execute the command.