Article 578AR Urgent! FTP default folder setup

Urgent! FTP default folder setup

by
marcello.ligi
from LinuxQuestions.org on (#578AR)
Hi I was setting up ftp on my ubuntu and I was following an article online that made me set up the default ftp user folder in a dedicated one instead of the /home.
How do I get back to /home as default folder now?

I set it up like this way
Create the ftp folder:

sudo mkdir /home/sammy/ftp
Set its ownership:

sudo chown nobody:nogroup /home/sammy/ftp
Remove write permissions:

sudo chmod a-w /home/sammy/ftp
Verify the permissions:

sudo ls -la /home/sammy/ftp
Output
total 8
4 dr-xr-xr-x 2 nobody nogroup 4096 Aug 24 21:29 .
4 drwxr-xr-x 3 sammy sammy 4096 Aug 24 21:29latest?d=yIl2AUoC8zA latest?i=5rWKbZr3EJE:seEY7vSxQH4:F7zBnMy latest?i=5rWKbZr3EJE:seEY7vSxQH4:V_sGLiP latest?d=qj6IDK7rITs latest?i=5rWKbZr3EJE:seEY7vSxQH4:gIN9vFw5rWKbZr3EJE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments