<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>well, for the user *tester* to be able to access that directory the user<br>has to either have ownership of that directory or be a member of the
<br>group that has access rights to that directory. My suggestion would be<br>to make ownership of that directory tester.apache, and make the user<br>tester a member of the group apache. Then your chmod setting of 755 will
<br>give the user *tester* rwx (read/write/execute) and the apache group r-w<br>(read/-/execute) perms for that directory.<br><br>then when user tester logs in via FTP he'll be able to access his home<br>directory.</blockquote>
<div><br></div></div><br>hey,<br><br>Virtual users of vsftp are non system users. I have created the virtual users through <br><br><span class="unnamed3"><font color="blue">db_load -T -t hash -f logins.txt /etc/vsftpd_login.db
<br><br><span style="color: rgb(0, 0, 0);">entries of vsftpd_login is like this</span><br style="color: rgb(0, 0, 0);"><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">ankush  -> username</span><br style="color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0);">ankush  -> password of username ankush</span><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">tester  ->   username</span><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">
tester->    password of username tester</span><br style="color: rgb(0, 0, 0);"><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">If this user (in this case tester) is not a system user how can I make it the member of apache group?
</span><br style="color: rgb(0, 0, 0);"><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">If I give 777 permissions on /var/www/html/testing then anybody can delete the files which I don't want ?</span><br style="color: rgb(0, 0, 0);">
<br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">May be setting setuid or setgid on the testing directory solves the problem (let me test this out).</span><br style="color: rgb(0, 0, 0);"><br style="color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0);">Thanks & Regards</span><br style="color: rgb(0, 0, 0);"><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Ankush Grover</span><br></font></span>