From 8173cc7e399bae7181d60c1d8fa89d9e80c2e3c9 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Mon, 6 Feb 2012 16:45:07 +0200
Subject: Update Oracle setup instructions

---
 db/oracle/setup | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/db/oracle/setup b/db/oracle/setup
index 53e8e80..8adef6f 100644
--- a/db/oracle/setup
+++ b/db/oracle/setup
@@ -14,6 +14,16 @@ CREATE SESSION,
 UNLIMITED TABLESPACE TO odb_test;
 
 =======
+For some Oracle installations (e.g., non-XE), the directory with OCI
+headers/libraries is not accessible unless the user is in the oinstall
+group. To fix, add the user in question to this group and switch to it
+(the last part is not ideal since all new files will be created with
+this group):
+
+usermod -g oinstall boris
+newgrp oinstall
+
+=======
 
 If you are getting "ORA-12516: TNS:listener could not find available
 handler with matching protocol stack" (this seems to be the case with
-- 
cgit v1.1