I want to give access to a user for only two directories residing under my /var/www folder.He must have full rights of these directories where he can add new files, new sub directories, chmod, chown etc. How can I do this, I am on debian.
feedback
|
closed as off topic by MikeyB, MDMarra, mailq, Iain♦, voretaq7♦ Nov 22 '11 at 21:32
Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.
|
Two methods I can think of. One add the user to a group that owns those directories, or alternatively, change the ownership of those directories to that user.
That will allow that user full rights to that directory. On our servers we have a developer group that all developers are members to and all the necessary directories are owned by that group. With group ownership you would probably be looking at a 0775 for the full rights. | |||
|
feedback
|