Jump to content

How do I set up FTP for specific folders?


sisom

Recommended Posts

Hi, I have four e-commerce sites on my server, and three static sites. Qualiteam (the makers of X-Cart) have set up the server for me, and given me FTP information, so that I can log in and edit files for each of the e-commerce sites. I am in the middle of setting up the static sites and have put them into their own /home/site1, /home/site2, etc. directories.

I have been using

useradd -d /home/site1 username

passwd username

 

to create users for each of the three directories, and I changed the ownership of the first directory to 'username' (for example), but when I try to use FireFTP, I only see a 'slash' and no contents. When I access my e-commerce sites using their FTP usernames, I see the /home/ecommerce1 directory, and within that I can see the public_html directory.

 

Is there a config file I should edit, to tell the server what directories to show to which user?

 

I've searched and searched all over Google for an answer to this, but couldn't find anything, which seems odd, as I would think that wanting to do this is very common.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.