Hi, First sorry for my ask in comments (have not see the note about that). I follow the HowTO: http://www.howtoforge.com/proftpd_mysql_virtual_hosting_p3 And all works fine (is a realy good HowTo)! My problem is. I cant find the way how to use a different user and group for a ftp user. Example: FTP User: daisy Home: /home/daisy as User: daisy and Group: users FTP User: gambit Home: /home/gambit as User: www and Group: www thx. wfx
I setup in ftpgroup: groupname gid members ftpgroup 2001 ftpuser www 33 www Then in ftpuser: userid uid gid daisy 2001 2001 gambit 33 33 i log in as gambit an create a directory "dada" and then i look on it : ftp> ls -l 200 PORT command successful 150 Opening ASCII mode data connection for file list drwxr-xr-x 2 gambit (?) 4096 Mar 18 19:10 dada 226 Transfer complete. If i view it on the server i get: root@philoctetes:~# ls -l /home/gambit/ drwxr-xr-x 2 65533 65533 4096 2006-03-18 20:10 dada The group www real exist. Please what do i wrong?
Then in ftpuser: userid uid gid daisy 2001 2001 gambit 33 33 I use 33 for gambit with the result i post. Ok. thx maybe it is not the way for me to go.
the group with the id 33 is set by the system (distribution) real name is www-data (for files under htdocs). thx.