[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limit of 16 groups a users can belong to?



> > How do I set things up so that new files created via ftp will have a group
> > of www even if the user's default group is not www?
> Using proftpd [please, no flames], you can do that. Using obsd internal
> ftpd, I have no idea...

Just make the directory below which the files are owned by user xyz and group
www.

Everything the user creates below will have the same ownerships. At least it
works that way on my machines.

And use a separate directory for all webstuff maybe with separate
mount-point for the web-files, so that this stuff is not located inside
the home-dirs. You can put a symbolic link there which points to the
appropriate directory.

/websites/          root   wheel drwxr-xr-x
          user1     user1  www   drwxr-x---
          user2     user2  www   drwxr-x---
...


Bye, Siggi.