Silex icon indicating copy to clipboard operation
Silex copied to clipboard

Not recognizing chroot on sftp

Open primal-buddhist opened this issue 3 years ago • 2 comments

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)

primal-buddhist avatar Dec 08 '21 13:12 primal-buddhist

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

lexoyo avatar Dec 08 '21 14:12 lexoyo

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

primal-buddhist avatar Dec 08 '21 15:12 primal-buddhist