V
V
Vitaliy Semyanchuk2014-01-15 23:03:23
FTP
Vitaliy Semyanchuk, 2014-01-15 23:03:23

How to give ftp editable access on Ubuntu?

Good afternoon.
On ubuntu 12.04, I cannot give the user access via FTP with the ability to edit. I do this:
useradd new_user -p 1q2w3e4r -d /home/www/path -s /bin/false
passwd new_user
Add the user to the group that created files in the folder:
usermod -G www-data -a new_user
Reload
/etc/init.d /proftpd restart
Then I can go to the folder via FTP, but I can't edit it.
What else needs to be done? I need the user to be able to create, edit, delete files.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Sundukov, 2014-01-16
@alekciy

What's in the logs?
Can't create or edit, so it's definitely a permissions problem.

N
Niko True, 2014-01-17
@buloshnik

Look at the rights to the user's folder through ls -l. You most likely created it through the root, therefore change the owner and rights (via chown and chmod). I hope it helped)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question