I want to set up a separate user for each service I'm running on my Ubuntu box. For example, I'm running a Minecraft and Counter Strike server. I want those two to have the usernames css-server
and minecraft-server
and belong to the group game-servers
. I can create users and add them to groups fine, but I also want them to have their own home directory to hold the files for each thing.
When I create the directory /home/css-server
as root and then set it as the css-server
user's login directory, that user has no permissions. I can't wget
anything into the directory nor can I create subdirectories from css-server
.
How do I set up directory permissions so that the users I create are able to do stuff in their own home directory?
Thanks.