• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue FTP users can browse directory

Nicola

Basic Pleskian
Hi,
I have a problem with ftp users, because when users access to server they can browse other user's directory. How can I resolve?

Thanks
 
Hi,

Maybe do you change something in FTP settings? I checked my server and compare with FTP [is link :)] - I haven't this issue.

So, check next steps:
1. Should be the same.
# grep Root /etc/proftpd.conf
DefaultRoot ~ psacln
#


2. Should be the same.
# cat /etc/ftpchroot
@psacln
#


3. Note group id (in my example is 1003)
# grep psacln /etc/group
psacln:x:1003:
#

4. Check correct group id for you ftp user.
# grep my-ftp-user /etc/passwd
my-ftp-user:x:10009:1003::/var/www/vhosts/my-domain.tld:/bin/false
#

5. Also, compare two different FTP users in your environment.

Did you find any difference?
 
Hi,
these are 2 my ftp users. With these setting I can browse system folders and the only folders I can not enter are those of other domains.

my_ftp_user_1:x:10002:1003::my-domain.tld:/bin/bash
my_ftp_user_2:x:10000:1003::my-domain2.tld:/bin/bash
 
Back
Top