On Wednesday 26 September 2007 23:41, Theo v. Werkhoven wrote:
Wed, 26 Sep 2007, by lynn@steve-ss.com:
Hi I have setup a vsftpd server and it works fine. Users can login and are chroote'd to their home folders.
I have allowed myself to break out of the chroot because I want to manage files under /srv/www/htdocs remotely. But I do not have permissions to do anything there. Stuff under htdocs is owned by root:root on the server but ftp'ing in here it's owned by 0:0. How can I give myself permission to the htdocs folder?
Make htdocs owned by another user. I've setup an 'ftpadmin' user for this. Let htdocs be the (chrooted) home dir of ftpadmin and logged in as this user you can do what you need.
Thanks Theo. Just one more question. What group does ftpadmin belong to? Will there be any permission issues if I do that? Will the permissions be preserved? Some need 777, others 666, others 600. Cheers, Lynn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org