500 OOPS: vsftpd: not found: directory given in 'secure_chroot_dir':/usr/share/empt

when this error comes
so we open a new terminal and make new directory
to the given address

but why do we need to do this ?
I didn’t get it
to make a new directory

Hi @hrithik_cr7
Looks like you are facing challenges in the current module.

Below is a link to all the FAQ’s for the current module

Below are a few similar topics raised by other users which you might find usefull

Note - This is a BETA Feature,if you find this helpful, kindly let us know.
Feedback link - https://forms.gle/cmxN5pdTXgnwgC986

Kindly mark this as a solution if this has helped you solve your query

Hi! @hrithik_cr7

Can you provide steps to generate error ?
Commands you used.

Secure_chroot_dir is variable which decides which dir you will be in initially when ftp server is connected.

This value can be set to ~/workspace

Also share your .conf file for futher insight.

so even I can give this command
Secure_chroot_dir=/usr/share/empty
in vsftpd.conf so that this error won’t generate again

I gave the command
ftp 0.0.0.0 8081
than this error was generated

Hi @hrithik_cr7 i
instead of /usr/share/empty
Give workspace dir path it will help in long run.