How do I set up an FTP user with access to web root using vsftpd?How do I restrict vsftpd access to a certain...

What to do with threats of blacklisting?

Integration of two exponential multiplied by each other

A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?

What is a good reason for every spaceship to carry a weapon on board?

How to politely refuse in-office gym instructor for steroids and protein

Does the US government have any planning in place to ensure there's no shortages of food, fuel, steel and other commodities?

Does a paladin have to announce that they're using Divine Smite before attacking?

What can I do to encourage my players to use their consumables?

Why zero tolerance on nudity in space?

Why is a temp table a more efficient solution to the Halloween Problem than an eager spool?

Why didn't the 2019 Oscars have a host?

Why is 'diphthong' pronounced the way it is?

Eww, those bytes are gross

What species should be used for storage of human minds?

Why avoid shared user accounts?

How much mayhem could I cause as a fish?

What is the industry term for house wiring diagrams?

How can the probability of a fumble decrease linearly with more dice?

Why did Luke use his left hand to shoot?

Stuck on a Geometry Puzzle

Non-Cancer terminal illness that can affect young (age 10-13) girls?

Why didn't Tom Riddle take the presence of Fawkes and the Sorting Hat as more of a threat?

A Missing Symbol for This Logo

Do authors have to be politically correct in article-writing?



How do I set up an FTP user with access to web root using vsftpd?


How do I restrict vsftpd access to a certain directory?How to create a user for ftp server?Error message “500 OOPS: vsftpd: refusing to run with writable root inside chroot()” - keep user jailedHow do I configure FTP accounts for vsftpd?Create FTP users with limited access only to home directory Ubuntu 12.04I want to create an FTP account that can oversee multiple other FTP accounts. How should I manage my permissions and users?Permanent FTP access for user?User has full access with FTP, limited access with SFTPUser access to FTP and at same time set www-data as owner/groupWhy does WordPress keep telling me that it needs to access my web server?













0















How do I set up an FTP user with access to web root using vsftpd?



I am currently setting up a website and I am trying to learn more about web servers on the way. I used shared hosting providers before, but this time I'd like to set up the server from scratch with a VPS. I installed a LAMP stack already and installed Wordpress. Everything works so far except for updating Wordpress automatically since it is asking for FTP access.



Therefore I installed vsftpd by following this tutorial. This also works accordingly.



The problem is that in the tutorial the FTP user has it's dedicated files directory (/home/ftp_user/ftp/files), but I need to give the user access to the web root (/var/www/html/site) for Wordpress performing the update.



I tried having a the local_root point to /var/www/html



and I tried setting up a symlink like this



ln -s /var/www/html /home/ftp_user/ftp/files


but both ways do not work.



What is the proper way to achieve this? Or would it be better to not use the /var/www/html location at all?










share|improve this question



























    0















    How do I set up an FTP user with access to web root using vsftpd?



    I am currently setting up a website and I am trying to learn more about web servers on the way. I used shared hosting providers before, but this time I'd like to set up the server from scratch with a VPS. I installed a LAMP stack already and installed Wordpress. Everything works so far except for updating Wordpress automatically since it is asking for FTP access.



    Therefore I installed vsftpd by following this tutorial. This also works accordingly.



    The problem is that in the tutorial the FTP user has it's dedicated files directory (/home/ftp_user/ftp/files), but I need to give the user access to the web root (/var/www/html/site) for Wordpress performing the update.



    I tried having a the local_root point to /var/www/html



    and I tried setting up a symlink like this



    ln -s /var/www/html /home/ftp_user/ftp/files


    but both ways do not work.



    What is the proper way to achieve this? Or would it be better to not use the /var/www/html location at all?










    share|improve this question

























      0












      0








      0








      How do I set up an FTP user with access to web root using vsftpd?



      I am currently setting up a website and I am trying to learn more about web servers on the way. I used shared hosting providers before, but this time I'd like to set up the server from scratch with a VPS. I installed a LAMP stack already and installed Wordpress. Everything works so far except for updating Wordpress automatically since it is asking for FTP access.



      Therefore I installed vsftpd by following this tutorial. This also works accordingly.



      The problem is that in the tutorial the FTP user has it's dedicated files directory (/home/ftp_user/ftp/files), but I need to give the user access to the web root (/var/www/html/site) for Wordpress performing the update.



      I tried having a the local_root point to /var/www/html



      and I tried setting up a symlink like this



      ln -s /var/www/html /home/ftp_user/ftp/files


      but both ways do not work.



      What is the proper way to achieve this? Or would it be better to not use the /var/www/html location at all?










      share|improve this question














      How do I set up an FTP user with access to web root using vsftpd?



      I am currently setting up a website and I am trying to learn more about web servers on the way. I used shared hosting providers before, but this time I'd like to set up the server from scratch with a VPS. I installed a LAMP stack already and installed Wordpress. Everything works so far except for updating Wordpress automatically since it is asking for FTP access.



      Therefore I installed vsftpd by following this tutorial. This also works accordingly.



      The problem is that in the tutorial the FTP user has it's dedicated files directory (/home/ftp_user/ftp/files), but I need to give the user access to the web root (/var/www/html/site) for Wordpress performing the update.



      I tried having a the local_root point to /var/www/html



      and I tried setting up a symlink like this



      ln -s /var/www/html /home/ftp_user/ftp/files


      but both ways do not work.



      What is the proper way to achieve this? Or would it be better to not use the /var/www/html location at all?







      server apache2 ftp vsftpd






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      josh21josh21

      3817




      3817






















          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121317%2fhow-do-i-set-up-an-ftp-user-with-access-to-web-root-using-vsftpd%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
















          draft saved

          draft discarded




















































          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%2f1121317%2fhow-do-i-set-up-an-ftp-user-with-access-to-web-root-using-vsftpd%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...