WebFaction
Community site: login faq

I have a client who would like to FTP into their website. I want to be able to configure the FTP account to only go into that webapp. I've tried to follow a few tutorials, but had no luck.

Thank you for your answer. I have gone in and executed permission

setfacl -m u:FTP_USER:rwx $HOME/webapps/my_application

However, when I login it does not seem to go directly into the application folder which is a WordPress instance. Is there different login procedures for an additional user?

I have gone through and followed all the directions setting all the permissions and then granting the primary user permissions again (Step 7). I then attempted to create a symlink for the secondary user in the home directory. However, when I login via SFTP with the secondary user the only information in /home/secondary_user are these files:

.bash_logout .bash_profile .bashrc .emacs .zshrc

There is no link to the web application.

I must've missed the step, but I've gone through several times and cannot find where it is.

asked 15 May '13, 23:29

FredFred
19516
accept rate: 33%

edited 16 May '13, 14:42

I've updated my answer.

(16 May '13, 13:14) seanf

The procedure for setting the appropriate permissions for your application directory is here: Granting Access to Specific Users

Please note that you must follow all of those steps.

If you want the FTP user to be in that specific directory immediately after login, then use your FTP client connection opens to specify the "initial remote directory" for the connection. Most modern FTP clients have a setting for this. It's not something we can configure on the server side.

permanent link

answered 16 May '13, 12:41

seanf
12.2k31836
accept rate: 37%

edited 16 May '13, 13:15

You can also provide a symlink with a command like this

ln -s /home/primary_username/webapps/application ~/application

Now when your client logs in, they can change directory to application and they will jump into the correct directory

permanent link

answered 19 Jun '13, 22:52

blogjunkie
11
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×62
×24

question asked: 15 May '13, 23:29

question was seen: 3,245 times

last updated: 19 Jun '13, 22:52

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM