silexlabs / Silex

Silex is an online tool for visually creating static sites with dynamic data. With the free/libre spirit of internet, together.
https://www.silex.me
GNU Affero General Public License v3.0
2.34k stars 586 forks source link

Not recognizing chroot on sftp #1155

Open primal-buddhist opened 2 years ago

primal-buddhist commented 2 years ago

Hi

  1. Using the web editor version,
  2. select sftp to save,
  3. Enter credentials and accepted
  4. Get a list of the / directory of the server (expected /var/www/mywebsitefolder)
  5. Trying any directory returns
    An error occured
    This operation failed with the following error message:
    This path does not exist (Bad Request)

    I expected the ftp client to present /var/www/mywebsitefolder as the root. Maybe a bug in the web unifile client?

(works fine using filezilla)

lexoyo commented 2 years ago

Hello

A few questions

  1. What folder do FileZilla show at start?
  2. When you navigate to /var with FileZilla, does it list the www folder?

On Dec 8, 2021, 14:52, at 14:52, Primal_Buddhist @.***> wrote:

Hi

  1. Using the web editor version,
  2. select sftp to save,
  3. Enter credentials and accepted
  4. Get a list of the / directory of the server (expected /var/www/mywebsitefolder)
  5. Trying any directory returns
    An error occured
    This operation failed with the following error message:
    This path does not exist (Bad Request)

    I expected the ftp client to present /var/www/mywebsitefolder as the root. Maybe a bug in the web unifile client?

(works fine using filezilla)

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/silexlabs/Silex/issues/1155

primal-buddhist commented 2 years ago

Hello A few questions 1. What folder do FileZilla show at start? 2. When you navigate to /var with FileZilla, does it list the www folder?

  1. /var/www/mywebsitefolder (set as the home folder for the user)
  2. Yes