using 'groups'
Posted by: haggis
Posted on: 2003-07-04 18:31:00
I'm struggling with a convenient way to let someone manage the content of a single directory. I have already set him up as a user for another domain I own but he manages; that domain is hosted from from his user directory. It seems to work fine although it's a bit awkward conceptually :-)
In this new instance he only needs to update files in a particular directory of another domain. So far, he can't navigate out of the domain he manages to any other domain in my account.
The KB suggests groups as a possible answer so I created a group with the two of us in it. But I'm not clear on what to do next; the KB doesn't really follow through with the how part once you've created a group using the panel. I'm guessing there's a shell command I can make over that directory that will allow him to see and read/write to a group-owned directory using his ftp client. 'chgrp' is my best guess from googling around. If the group is called 'foo' and the directory is called 'results' then would something like this work?
chgrp foo results
I do want him to be able to add files to the directory. Since results is 'below' the domain base directory, do I have to chgrp the whole domain to allow his ftp client to traverse to the results directory?