Korn Shell Script to change the permissions

Hi,
All

I am trying to change the permission for all the files in the current dir such that the user(owner) have the read write and excute permissions. When I excute the korn shell it will change the whole files and directory permissions as "rwx". Any help will be highly appreciated.

Thanks

You don't need as script. See the man page for chown, it is quite capable of the without being wrapped.