My Oracle Support Banner

Oracle Linux: The SFTP Login Fails With Error: "fatal: bad ownership or modes for chroot directory" (Doc ID 2898519.1)

Last updated on OCTOBER 07, 2022

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64

Symptoms

The sftp logins fail with below error in /var/log/secure

  
 

Changes

 Custom chroot directory set for matching OS user/groups in SSHD config file /etc/ssh/sshd_config

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.