VSFTPD issues on Ubuntu 18.10 Server












0















Heyo,
I am relatively new to Ubuntu and Servers so I don't really know whats going on exactly ...
I know there is a lot of stuff in the vsftpd.conf that I don't need. (I copied that from tutorials on how to setup vsftp on Ubuntu.)



Setup:




  • Ubuntu 18.10 Server

  • 3 accounts (root, web and mc)


    • All are in the vsftpd.chroot_list



  • Apache2 Server is running.


vsftpd.conf:



listen=NO
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
chroot_local_user=YES
chroot_list_enable=YES
user_sub_token=$USER
chroot_list_file=/etc/vsftpd.chroot_list
local_root=/home/
allow_writeable_chroot=YES
ls_recurse_enable=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=YES
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
pasv_enable=YES
pasv_min_port=12000
pasv_max_port=12100
utf8_filesystem=YES


Problems:




  • On one PC I can't delete folders via FTPClient. (550 Remove directory operation failed.)

  • On another PC from another location:


    • I can't connect without VPN being active.

    • I can't delete folders. (550)

    • I can't upload files. (500 illegal port command)



  • Wordpress (may be another issue): I can't install or themes via the wordpress ftp and wordpress can't use manually uploaded themes.


Things I've tried so far (with web and mc):




  • Dis-/Enabling SSL

  • Everything in the vsftpd.conf

  • sudo chown -R mc /home/$USER/

  • sudo chmod -R 777 /home/$USER/

  • something like sudo chown -R $USER:$USER /home/$USER/


Thanks in advance.
Have a good day :)










share|improve this question







New contributor




DoodleSchrank is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    Heyo,
    I am relatively new to Ubuntu and Servers so I don't really know whats going on exactly ...
    I know there is a lot of stuff in the vsftpd.conf that I don't need. (I copied that from tutorials on how to setup vsftp on Ubuntu.)



    Setup:




    • Ubuntu 18.10 Server

    • 3 accounts (root, web and mc)


      • All are in the vsftpd.chroot_list



    • Apache2 Server is running.


    vsftpd.conf:



    listen=NO
    listen_ipv6=YES
    anonymous_enable=NO
    local_enable=YES
    write_enable=YES
    local_umask=022
    dirmessage_enable=YES
    use_localtime=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    xferlog_file=/var/log/vsftpd.log
    chroot_local_user=YES
    chroot_list_enable=YES
    user_sub_token=$USER
    chroot_list_file=/etc/vsftpd.chroot_list
    local_root=/home/
    allow_writeable_chroot=YES
    ls_recurse_enable=YES
    secure_chroot_dir=/var/run/vsftpd/empty
    pam_service_name=vsftpd
    rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    ssl_enable=YES
    force_local_data_ssl=YES
    force_local_logins_ssl=YES
    ssl_tlsv1=YES
    ssl_sslv2=NO
    ssl_sslv3=NO
    pasv_enable=YES
    pasv_min_port=12000
    pasv_max_port=12100
    utf8_filesystem=YES


    Problems:




    • On one PC I can't delete folders via FTPClient. (550 Remove directory operation failed.)

    • On another PC from another location:


      • I can't connect without VPN being active.

      • I can't delete folders. (550)

      • I can't upload files. (500 illegal port command)



    • Wordpress (may be another issue): I can't install or themes via the wordpress ftp and wordpress can't use manually uploaded themes.


    Things I've tried so far (with web and mc):




    • Dis-/Enabling SSL

    • Everything in the vsftpd.conf

    • sudo chown -R mc /home/$USER/

    • sudo chmod -R 777 /home/$USER/

    • something like sudo chown -R $USER:$USER /home/$USER/


    Thanks in advance.
    Have a good day :)










    share|improve this question







    New contributor




    DoodleSchrank is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      Heyo,
      I am relatively new to Ubuntu and Servers so I don't really know whats going on exactly ...
      I know there is a lot of stuff in the vsftpd.conf that I don't need. (I copied that from tutorials on how to setup vsftp on Ubuntu.)



      Setup:




      • Ubuntu 18.10 Server

      • 3 accounts (root, web and mc)


        • All are in the vsftpd.chroot_list



      • Apache2 Server is running.


      vsftpd.conf:



      listen=NO
      listen_ipv6=YES
      anonymous_enable=NO
      local_enable=YES
      write_enable=YES
      local_umask=022
      dirmessage_enable=YES
      use_localtime=YES
      xferlog_enable=YES
      connect_from_port_20=YES
      xferlog_file=/var/log/vsftpd.log
      chroot_local_user=YES
      chroot_list_enable=YES
      user_sub_token=$USER
      chroot_list_file=/etc/vsftpd.chroot_list
      local_root=/home/
      allow_writeable_chroot=YES
      ls_recurse_enable=YES
      secure_chroot_dir=/var/run/vsftpd/empty
      pam_service_name=vsftpd
      rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
      rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
      ssl_enable=YES
      force_local_data_ssl=YES
      force_local_logins_ssl=YES
      ssl_tlsv1=YES
      ssl_sslv2=NO
      ssl_sslv3=NO
      pasv_enable=YES
      pasv_min_port=12000
      pasv_max_port=12100
      utf8_filesystem=YES


      Problems:




      • On one PC I can't delete folders via FTPClient. (550 Remove directory operation failed.)

      • On another PC from another location:


        • I can't connect without VPN being active.

        • I can't delete folders. (550)

        • I can't upload files. (500 illegal port command)



      • Wordpress (may be another issue): I can't install or themes via the wordpress ftp and wordpress can't use manually uploaded themes.


      Things I've tried so far (with web and mc):




      • Dis-/Enabling SSL

      • Everything in the vsftpd.conf

      • sudo chown -R mc /home/$USER/

      • sudo chmod -R 777 /home/$USER/

      • something like sudo chown -R $USER:$USER /home/$USER/


      Thanks in advance.
      Have a good day :)










      share|improve this question







      New contributor




      DoodleSchrank is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Heyo,
      I am relatively new to Ubuntu and Servers so I don't really know whats going on exactly ...
      I know there is a lot of stuff in the vsftpd.conf that I don't need. (I copied that from tutorials on how to setup vsftp on Ubuntu.)



      Setup:




      • Ubuntu 18.10 Server

      • 3 accounts (root, web and mc)


        • All are in the vsftpd.chroot_list



      • Apache2 Server is running.


      vsftpd.conf:



      listen=NO
      listen_ipv6=YES
      anonymous_enable=NO
      local_enable=YES
      write_enable=YES
      local_umask=022
      dirmessage_enable=YES
      use_localtime=YES
      xferlog_enable=YES
      connect_from_port_20=YES
      xferlog_file=/var/log/vsftpd.log
      chroot_local_user=YES
      chroot_list_enable=YES
      user_sub_token=$USER
      chroot_list_file=/etc/vsftpd.chroot_list
      local_root=/home/
      allow_writeable_chroot=YES
      ls_recurse_enable=YES
      secure_chroot_dir=/var/run/vsftpd/empty
      pam_service_name=vsftpd
      rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
      rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
      ssl_enable=YES
      force_local_data_ssl=YES
      force_local_logins_ssl=YES
      ssl_tlsv1=YES
      ssl_sslv2=NO
      ssl_sslv3=NO
      pasv_enable=YES
      pasv_min_port=12000
      pasv_max_port=12100
      utf8_filesystem=YES


      Problems:




      • On one PC I can't delete folders via FTPClient. (550 Remove directory operation failed.)

      • On another PC from another location:


        • I can't connect without VPN being active.

        • I can't delete folders. (550)

        • I can't upload files. (500 illegal port command)



      • Wordpress (may be another issue): I can't install or themes via the wordpress ftp and wordpress can't use manually uploaded themes.


      Things I've tried so far (with web and mc):




      • Dis-/Enabling SSL

      • Everything in the vsftpd.conf

      • sudo chown -R mc /home/$USER/

      • sudo chmod -R 777 /home/$USER/

      • something like sudo chown -R $USER:$USER /home/$USER/


      Thanks in advance.
      Have a good day :)







      server permissions ftp vsftpd






      share|improve this question







      New contributor




      DoodleSchrank is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      DoodleSchrank is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      DoodleSchrank is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Mar 12 at 16:30









      DoodleSchrankDoodleSchrank

      1




      1




      New contributor




      DoodleSchrank is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      DoodleSchrank is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      DoodleSchrank is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          DoodleSchrank is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125084%2fvsftpd-issues-on-ubuntu-18-10-server%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          DoodleSchrank is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          DoodleSchrank is a new contributor. Be nice, and check out our Code of Conduct.













          DoodleSchrank is a new contributor. Be nice, and check out our Code of Conduct.












          DoodleSchrank is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125084%2fvsftpd-issues-on-ubuntu-18-10-server%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Category:香港粉麵

          List *all* the tuples!

          Channel [V]