chown all folder and subfolders in home with their own user
I have 52 directory in home folder, some files in those folders, are chown-ed to root.
I need script who chown folders and all files and folders in them to user named as folder in home.
If username john then there is folder in home named as john.
Last edited by AngelDeaD; 01-29-2012 at 03:33 AM.