Forum Moderators: bakedjake

Message Too Old, No Replies

Problem with vsftpd

OOPS: chdir

         

DrDoc

3:42 pm on Oct 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I installed and configured vsftpd on a server... and everything seemed to work just fine. I set up a couple accounts, and they can all log on to their ftp account just fine.

However, this one account needs sub accounts. The main account is a manufacturer (let's call them Widgets Inc).

Their home directory is set to /home/client_ftp/widgets
"widgets" can log on just fine to their account...

Now, there's a subfolder for order information (/home/client_ftp/widgets/orders) in which there are other sub folders (one for each of their customers). So, pretend that there's a customer "Blehs'R'us"... There's a folder for them at /home/client_ftp/widgets/orders/bleh

The "bleh" account is configured to belong to the "widgets" group... and has its home directory set to /home/client_ftp/widgets/orders/bleh. The "bleh" folder is chowned to "bleh:widgets" ... and chmodded to 770.

Like I said, "widgets" can log on with full access... But whenever "bleh" tries to log on the server returns an error: "500 OOPS: chdir"

I have vsftpd configured to chroot users when they log on... But that shouldn't matter, should it?

Any insight is extremely welcome.

DrDoc

4:08 pm on Oct 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmm... strange. I had to chmod all parent folders ("/home/client_ftp/widgets" and "/home/client_ftp/widgets/orders") 770 as well... and then it started working :)