Installation failed: creating files on root folder instead of current folder

System Information
  • Strapi Version: 4.25.1
  • Operating System: Infomaniak managed VPS
  • Database: sqlite
  • Node Version: 20
  • NPM Version: 9.7.2
  • Yarn Version: 1.22.22

After using npx create-strapi-app@latest cms inside folder /home/clients/********/sites/wr-****.com/strapi I obtain this error

[Error: EACCES: permission denied, mkdir '/home/clients/********/.config/com.strapi'] {
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path: '/home/clients/********/.config/com.strapi'
}

Why Strapi wants to install on the VPS root folder ?

Hello! Do you have any news about this problem? I have the same error on an Infomaniak managed server. Thanks

Could you please walk me through the experience? What happens when you execute the npx create-strapi-app@latest command?