How to set a permission of a Sub Directory in root folder of a ubuntu web server

I have a web server running on ubuntu Linux. I want to set a separate permission to a sub directory in a root folder to perticular user so that the same user can edit the specified directory. I want the same user can not edit the other directories of root directories.How can I do this?