My Oracle Support Banner

Oracle OpenStack 4.0.1: Restore MySQL Database gets "Permission denied" when Accessing the Backup Directory in Container (Doc ID 2395817.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 4.0.1 and later
Linux x86-64

Symptoms

Following up Configuration Guide to restore MySQL Database from backup.
After copy the backup file into mysqlcluster_mgmt container, access to the newly copied backup directory in container reports "Permission denied":

$ docker cp BACKUP-567 mysqlcluster_mgmt:/
$ docker exec -ti mysqlcluster_mgmt /usr/bin/ls /BACKUP-567
/usr/bin/ls: cannot open directory /BACKUP-567: Permission denied 

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!


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