title: FTP - 550 Failed to change directory
body: <p>I am trying to write a remote file using FTP. I am using the <a href="https://github.com/thephpleague/flysystem" rel="noreferrer">flysystem</a>  library to do so in PHP. It seems to be working well. However, when I try to write to a file in a specific location it gives me the chdir() error. To test this, I tried this on the FTP console.</p>
  
  <pre><code>[kbg@ip-192-0-1-118 ~]$ ftp
  ftp&gt; open 192.0.1.118
  Connected to 192.0.1.118 (192.0.1.118).
  220 (vsFTPd 2.2.2)
  Name (192.0.1.118:kbg):
  331 Please specify the password.
  Password:
  230 Login successful.
  Remote system type is UNIX.
  Using binary mode to transfer files.
  ftp&gt; pwd
  257 "/"
  ftp&gt; cd /projects/test
  550 Failed to change directory.
  </code></pre>
  
  <p>When I changed the following in the vsftpd.conf file, it seems to work well.</p>
  
  <pre><code>chroot_local_user=NO
  chroot_list_enable=NO
  </code></pre>
  
  <p>I can even use the PHP library to write without any problem. What is the correct way to allow my user to write into a file in the /projects/test/t1.conf file?</p>