So I did something stupid. I wanted to install drupal using composer and it gave me a warning that I was root. Now Linode gave me only a root user. So i created a regular user called pierre. I added this user to the hestiaCP pierreac group. pierreac is part of hestia-users group. I did this so i could access /home/pierreac/ to install drupal using composer as a regular user. However, I cannot seem to remember what the permissions were set to earlier to revert.
So my question is - Which user and group should I give permission to, to get HestiaCP FM working again?
Here is my ls -al
root@hestia:~# ls -al /home/pierreac/
total 432
drwxrwxr-x+ 13 root pierreac 4096 Aug 19 14:58 .
drwxr-xr-x 5 root root 4096 Aug 21 12:40 ..
-rw-rw-r-- 1 pierreac pierreac 220 Apr 24 02:53 .bash_logout
-rw-rw-r-- 1 pierreac pierreac 3526 Apr 24 02:53 .bashrc
drwxrwxr-x 2 pierreac pierreac 4096 Aug 18 15:15 .cache
drwxrwxr-x 2 pierreac pierreac 4096 Aug 18 15:15 .composer
drwxr-xr-x 4 root root 4096 Aug 18 15:15 conf
drwxrwxr-x 2 pierreac pierreac 4096 Aug 18 15:15 .config
drwxrwxr-x 2 pierreac pierreac 4096 Aug 18 15:15 .local
drwxrwxr-x 2 pierreac pierreac 4096 Aug 18 15:15 .npm
-rw-rw-r-- 1 pierreac pierreac 807 Apr 24 02:53 .profile
drwxrwxr-x 2 pierreac pierreac 4096 Aug 18 15:28 .ssh
drwx-w---- 2 pierreac pierreac 376832 Aug 21 16:05 tmp
drwxrwxr-x 2 pierreac pierreac 4096 Aug 18 15:15 .vscode-server
drwxrwxr-x 8 root pierreac 4096 Aug 21 01:51 web
drwxrwxr-x 3 pierreac pierreac 4096 Aug 19 14:58 .wp-cli
2023/08/21 15:54:21 [error] 417919#0: *147 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught League\Flysystem\Sftp\ConnectionErrorException: Could not login with username: pierreac, host: 127.0.0.1 in /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php:244
Stack trace:
#0 /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php(207): League\Flysystem\Sftp\SftpAdapter->login()
#1 /usr/local/hestia/web/fm/vendor/league/flysystem/src/Adapter/AbstractFtpAdapter.php(650): League\Flysystem\Sftp\SftpAdapter->connect()
#2 /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php(559): League\Flysystem\Adapter\AbstractFtpAdapter->getConnection()
#3 /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php(551): League\Flysystem\Sftp\SftpAdapter->getMetadata()
#4 /usr/local/hestia/web/fm/vendor/league/flysystem/src/Filesystem.php(58): League\Flysystem\Sftp\SftpAdapter->has()
#5 /usr/local/hestia/web/fm/backend/Services/Storage/Filesystem.php(50): League\Flysystem\Filesystem->has()
#6 /usr/local/he" while reading response header from upstream, client: 108.162.238.133, server: _, request: "POST /fm/?r=/createnew HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "hestia.oakarborconsulting.com:2083", referrer: "https://hestia.oakarborconsulting.com:2083/fm/"