Hi Chris,
Thanks for reply.I am not trying to do it for Windows , but i want to implement it on Linux.I run a code in php which creates a directory inside a directory called as clients. Permissions for Clients are 777 (I have assigned them manually).Now i want to assign a user and permissions and a user to the dir which is created by my code.
By default the user being assigned to thsi dir is "Apache".
I hope its clear to u now.Can u shed some light on this ?
Thanks
Amit Deshpande