You are not logged in.

#1 2009-10-06 19:17:12

Impianto
Member
From: Russia, Saint-Petersburg
Registered: 2009-09-18
Posts: 7

VsFTPD, creating a user who can upload

Hello everyone!
I setup ftp-server with this configuration:

listen=YES
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
dirmessage_enable=YES
xferlog_enable=yes
connect_from_port_20=YES
xferlog_std_format=YES
idle_session_timeout=600
data_connection_timeout=120
anon_world_readable_only=NO

I have several questions of finishing setup.
Everything I wanna work except one. I don't know how to create the user who as a client can upload files. Now I have the directory upload, where everyone can do anything that he want (upload delete rename etc..) and others dir such as music, films where users (they all will be anonymous) can only download. I want to create user who can upload files to this directories. How can I make this? now no pam, no authantification.
Another question. How can I limit space of upload's folder?
another info, permissions of ftp folder: dr-xr-xr-x  3 ftp    ftp      4096 2009-10-04 21:09 ftp
upload folder:drwxrwxrwx 2 root root 4096 2009-10-06 22:58 upload
I think it's not pretty good that upload is root's folder. what aobut this?
Thanks!! and sorry for my english, i first time write so long text on foreign forum))

Offline

#2 2009-10-10 08:31:41

Impianto
Member
From: Russia, Saint-Petersburg
Registered: 2009-09-18
Posts: 7

Re: VsFTPD, creating a user who can upload

up, anybody know???`

Offline

#3 2009-10-10 10:04:15

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: VsFTPD, creating a user who can upload

Actually you could use the wiki and follow this guide http://wiki.archlinux.org/index.php/Vsf … simpler.29 I use it exactly like this and upload is no problem at all and I think it's pretty secure.

Offline

#4 2009-10-12 19:14:04

Impianto
Member
From: Russia, Saint-Petersburg
Registered: 2009-09-18
Posts: 7

Re: VsFTPD, creating a user who can upload

ok. I had done all writing in the guide. but this example is without anonymous users. I want to create two types of directories ("shared" and others) and two types of users (anonymous and several admins which must log in)
1) anonymous users who can do anything in directory "shared" and only download in other directories.
2) admins users can upload and delete files or folders at any directory.

home directories aren't interesting to me.
What permissions should specify for dir?
thanks in advance for patience

Offline

Board footer

Powered by FluxBB