OCI: LFTP Transfer From On-Prem To OCI Fails With "Access Failed: 550 Failed to Change Directory"
in Linux
Applies to:
Linux OS - Version Oracle Linux 7.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
SYMPTOMS
File Transfer From On-Premises to OCI gives error "550 Failed to change directory"
lftp copyaccess@10.****.XX.****:~> mirror --parallel=4 -R /BKP_OCI_APP/ /Backup/Test1/ mirror: Access failed: 550 Failed to change directory. (/Backup/Test1) 1 error detected
/var/log/messages in OCI instance:
Aug 23 05:53:54 ocihost setroubleshoot[206022]: failed to retrieve rpm info for /Backup Aug 23 05:53:57 ocihost setroubleshoot[206022]: SELinux is preventing vsftpd from search access on the directory /Backup. For complete SELinux messages run: sealert -l cdc5b9a6-9dcc-42ef-9b49-83adf104ee55 Aug 23 05:53:57 ocihost setroubleshoot[206022]: SELinux is preventing vsftpd from search access on the directory /Backup.#012#012***** Plugin restorecon (65.4 confidence) suggests ************************#012#012If you want to fix the label. #012/Backup default label should be default_t.#012Then you can run restorecon. The access attempt may have been stopped due to insufficient permissions to access a parent directory in which case try to change the following command accordingly.#012Do#012# /sbin/restorecon -v
Tagged:
0