Batch file (or script) to set permissions on home directory
I have recently migrated users' home directories from one server to another. I need to set the permissions on the files to the user and securityadmin only. How would I do this in a batch file (or script) as the user for each directory is different? Thanks.