Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[vsftpd] ecriture utilisteur virtuel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
mardi_soir
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 215

PostPosted: Wed Apr 19, 2006 1:12 pm    Post subject: [vsftpd] ecriture utilisteur virtuel Reply with quote

Bonjour

j'ia un peu de mal j'ai donc un compte utilisateur virtuel qui se connecte tout bien mais impossible d'ecrire

Quote:
mkdir aze
mkdir: L'accès a échoué: 550 Permission denied. (aze)


voici mon fichier de configuration

Quote:

pam_service_name=vsftpd

# If enabled, all non-anonymous logins are classed as "guest" logins. A guest
# login is remapped to the user specified in the guest_username setting.
guest_enable=YES
#guest_username=ftp

# Ceci configure vsFTPd en mode "standalone"

listen=YES
anonymous_enable=NO
max_clients=10
max_per_ip=3

local_enable=YES
write_enable=YES

dirmessage_enable=YES
banner_file=/etc/vsftpd/message
chown_uploads=YES
xferlog_enable=YES
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=NO
ascii_download_enable=NO
#chroot_list_enable=YES
ls_recurse_enable=YES

#listen_port




j'ai mis chmod -R a+rxw /home/ftp/ mais ca marche pas non plus

voilà voilà
Back to top
View user's profile Send private message
mccm
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2005
Posts: 94

PostPosted: Wed Apr 19, 2006 4:44 pm    Post subject: Reply with quote

tu arrive donc a te logger?
Back to top
View user's profile Send private message
mardi_soir
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 215

PostPosted: Thu Apr 20, 2006 6:32 am    Post subject: Reply with quote

oui je me lconnecte sans problème mais pas moyen d'uploader
Back to top
View user's profile Send private message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1088
Location: Hélécine - Belgium

PostPosted: Thu Apr 20, 2006 7:36 am    Post subject: Reply with quote

tu es sur de ne pas etre loggué en GUEST ?
_________________
Mangez du poulet !
Back to top
View user's profile Send private message
mardi_soir
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 215

PostPosted: Thu Apr 20, 2006 8:23 am    Post subject: Reply with quote

je me connecte avec un login et un mot de passe que j'ai defini, encodé dans dans un fichier, et auquel pam accede pour permetre l'authetification
Back to top
View user's profile Send private message
mardi_soir
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 215

PostPosted: Sun Apr 30, 2006 12:06 pm    Post subject: Reply with quote

remontage artificiel

je ne trouve toujours pas

et dans le client j'ai ca pourtant

Code:

lftp user@prout.no-ip.info:/incoming> mkdir ze
mkdir: L'accès a échoué: 550 Permission denied. (ze)
lftp user@prout.no-ip.info:/incoming> ls -al
drwxrwxrwx    3 21       21           4096 Apr 29 10:46 .
drwxrwxrwx    8 21       21           4096 Apr 30 11:29 ..
drwxr--r--    4 21       21           4096 Apr 29 10:46 gnac
-rwxr--r--    1 21       21        1334548 Mar 26 18:51 test.avi
lftp user@prout.no-ip.info:/incoming>


et sur le serveur
Code:
husss ftp # ls -al
drwxrwxrwx  3 ftp        ftp       4096 2006-04-29 12:46 incoming
Back to top
View user's profile Send private message
mardi_soir
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 215

PostPosted: Tue Jun 20, 2006 8:52 pm    Post subject: Reply with quote

up up up :lol:






mardi_soir_remonteur_de_post
Back to top
View user's profile Send private message
creuvard
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 211
Location: Bordeaux

PostPosted: Tue Jun 20, 2006 9:17 pm    Post subject: Reply with quote

Dans ton premier post dans ton fichier de configuration il faut que tu décommentes

Code:

guest_username=ftp


Et que tu donnes les droits qui vont bien ( "chmod -r 777 /home/ftp && chown -r ftp:ftp /home/ftp" -> pour faire le test :?: ) au répertoire dans lequel il est "chrooté"


Chez moi ca marche comme ca, et l'écriture est possible avec les utilisateur virtuels.
Back to top
View user's profile Send private message
mardi_soir
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 215

PostPosted: Thu Jun 22, 2006 12:48 pm    Post subject: Reply with quote

Salut !



me manque t'il quelque chose parce que j'obtiens toujours un message server said: Permission denied.

Code:
pam_service_name=vsftpd
guest_enable=YES
guest_username=ftp
listen=YES
anonymous_enable=NO
max_clients=10
max_per_ip=50
local_enable=YES
write_enable=YES
dirmessage_enable=YES
chown_uploads=YES
xferlog_enable=YES
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=NO
ascii_download_enable=NO
ls_recurse_enable=YES
listen_port=21
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum