Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I have managed to set up vsftp to use virtual users using a pam database file and it works except for one thing. . . users can not upload ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    3

    VSFTPD Problems - Virtual Users


    Hi

    I have managed to set up vsftp to use virtual users using a pam database file and it works except for one thing. . . users can not upload anything or create folders on the server. I get a 550 permission denied message every time.

    I have checked the permissions on the folder and they are correct, I even tested by using chmod 777 on the folder to see if that made a difference and it did not. I also used: ps auxw | grep vsftpd to see what user im connecting under with a virtual user and it comes up as the ftp user I created for the virtual users to use.

    My vsftpd.conf file has the following:

    anonymous_enable=NO
    local_enable=YES
    write_enable=YES
    local_umask=022
    dirmessage_enable=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    xferlog_std_format=YES
    ftpd_banner=Hello.
    pam_service_name=vsftpd
    userlist_enable=YES
    listen=YES
    tcp_wrappers=YES
    anon_upload_enable=NO
    anon_mkdir_write_enable=NO
    anon_other_write_enable=NO
    guest_enable=YES
    guest_username=beatsftp
    user_sub_token=$USER
    local_root=/home/beatsftp/$USER
    user_config_dir=/etc/vsftpd/vsftpd_user_conf
    virtual_use_local_privs=NO

    I used a seperate config file in the user_config_dir to make my non-virtual users work (i.e. it they have guest_enable=NO) in their file and they all work fine so im a little lost.

    Any help would be appreciated!

    Thanks

  2. #2
    Just Joined!
    Join Date
    May 2006
    Posts
    3
    Actually just solved it, I mis-read the description for:

    virtual_use_local_privs

    It should be set to yes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •