engarde-users November 2005 archive
Main Archive Page > Month Archives  > engarde-users archives
engarde-users: [EnGarde] Re: Changing user home directories for

[EnGarde] Re: Changing user home directories for FTP

From: Adam Greig <randomskk_at_nospam>
Date: Tue Nov 08 2005 - 21:01:44 GMT
To: engarde-users@engardelinux.org


The log files don't contain any errors, so no help from that direction. Should the permissions be changed for all parents directories as well, or just for the one it's trying to go to?
On 11/8/05, Ryan W. Maple <ryan@guardiandigital.com> wrote:
>
>
> Adam,
>
> On Tue, 8 Nov 2005, Adam Greig wrote:
>
> > I've got a user, user, who can login via FTP but also has a folder in
> the
> > web directory (/home/httpd.../html/user) and basically I want the user's
> > home directory (also the one they arrive in when they connect via FTP)
> to be
> > the webserver one instead of /home/user.
> > I've tried "usermod -d /home/httpd...../html/user user", and that seems
> to
> > work, but when I try to connect via FTP I get this error:
> >
> > 500 OOPS: cannot change directory:/home/httpd..../html/user
> > Login failed.
>
> That error means vsftpd (the FTP daemon) could not chdir() into that
> directory. Make sure the permissions are correct -- that's the most
> probable problem.
>
> > Any ideas on how I can allow the FTP user to go into this direcotry?
> > The chmod permissions should be set OK, and the server is in permissive
> mode
> > (other things I've got running need it like that) and I'm not sure where
> the
> > FTP logs are stored (find / -name ftp didn't come up with any log files,
> or
> > much else for that matter).
>
> Try:
>
> find / -name \*ftp\*
>
> The log you are looking for is /var/log/vsftpd.log.
>
> -r
> ------------------------------------------------------------------------
> To unsubscribe email engarde-users-request@engardelinux.org
> with "unsubscribe" in the subject of the message.
>
>
-- Adam Greig http://randomskk.net ------------------------------------------------------------------------ To unsubscribe email engarde-users-request@engardelinux.org with "unsubscribe" in the subject of the message.