My Oracle Support Banner

Oracle Linux: Running sftp(1) Fails With "scontext=unconfined_u:system_r:chroot_user_t" Entry In /var/log/messages Log (Doc ID 2425863.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version 6 to Oracle Linux 7.5
Linux x86
Linux x86-64

Symptoms

Attempts to run the sftp(1) utility fail:

Changes

 

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
 SELinux is configured for either permissive or enforcing mode

 The ssh(1) application is not enabled for chroot(1) activity
Solution
 Enable full chroot(1) access in SELinux
 Optionally enable writable home directory access in SELinux
 Verify home directory writability
References


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