[root@b7d7d0583940 /]# /tmp/create
Wed Jul 13 20:12:40 UTC 2016
Creating database...
SQL*Plus: Release 12.1.0.2.0 Production on Wed Jul 13 20:12:40 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
SP2-0310: unable to open file "/u01/app/oracle/product/12.1.0/dbhome_1/config/scripts/createdb.sql"
Various seemingly random files in the /u01/app/oracle directory are owned by root and only rw by owner.
Environment:
SUSE Linux Enterprise Server 12 SP1
Docker version 1.10.3, build 9e83765
Other Notes
After step3, the database wouldn't start up - I had to run the chown -R command again as the /tmp/start script seemed to get stuck due to permissions errors.
I've used this project before without problem on other platforms/docker versions. I'm not sure what's different here but maybe adding the appropriate chmod to the script would fix it for my environment and not harm others.
Here's hoping I get around to trying it out and generating a pull request.
Reproduction:
Various seemingly random files in the /u01/app/oracle directory are owned by root and only rw by owner.
Workaround:
Environment: SUSE Linux Enterprise Server 12 SP1 Docker version 1.10.3, build 9e83765
Other Notes After step3, the database wouldn't start up - I had to run the chown -R command again as the /tmp/start script seemed to get stuck due to permissions errors.
I've used this project before without problem on other platforms/docker versions. I'm not sure what's different here but maybe adding the appropriate chmod to the script would fix it for my environment and not harm others.
Here's hoping I get around to trying it out and generating a pull request.