myvesta / vesta

myVESTA Control Panel
https://myvestacp.com
GNU General Public License v3.0
270 stars 47 forks source link

SFTP Accounts not listing files #172

Open darkworks opened 10 months ago

darkworks commented 10 months ago

Describe the problem:

Problem is when i create sftp account for a domain it display files like public html dir when login from ftp client , however on server restart when i login to the sftp account it not display files in public html dir , shows blank . then i delete sftp account and recreate it with same credentials and when refresh ftp client then it display files in public html dir

Steps to Reproduce:

Install Vesta . create user other than admin add domain name edit domain and add sftp account login to sftp account will display files OK. reboot system login to sftp account will not display files in public_html dir delete sftp account and recreate it with same creds refresh ftp client it will display files OK

Debian version:

Debian 11

VestaCP Version:

Latest : Version 0.9.9-0-5

Installed Software (what you got with the installer):

WEB_SYSTEM='apache2' WEB_RGROUPS='www-data' WEB_PORT='8080' WEB_SSL_PORT='8443' WEB_SSL='mod_ssl' PROXY_SYSTEM='nginx' PROXY_PORT='80' PROXY_SSL_PORT='443' STATS_SYSTEM='webalizer,awstats' FTP_SYSTEM='proftpd' DNS_SYSTEM='bind9' MAIL_SYSTEM='exim4' ANTIVIRUS_SYSTEM='clamav-daemon' ANTISPAM_SYSTEM='spamassassin' IMAP_SYSTEM='dovecot' CRON_SYSTEM='cron' FIREWALL_SYSTEM='iptables' FIREWALL_EXTENSION='fail2ban' BACKUP_SYSTEM='local' LANGUAGE='en' VERSION='0.9.8' DB_SYSTEM='mysql'