My Oracle Support Banner

Running a SQL Script with Permissions set to 600 Fails with SQL*Plus Client Installed on UNIX (Doc ID 1161443.1)

Last updated on MARCH 03, 2025

Applies to:

SQL*Plus - Version 10.1.0.2 to 11.1.0.7 [Release Oracle10g to 11.1]
Information in this document applies to any platform.

Symptoms

Installed a fresh SQL*Plus client on AIX, applied patch 6800649 and followed Note 880403.1.  Running a script created from Perl, with file permissions set to 600, fails to execute with error: 

Error SP2-0310: unable to open file "test.sql"


The owner of Perl script (non-oracle) has read+write privileges, as follows:

Changes

Additional change has been done to give Client's $ORACLE_HOME the 6755 permissions.

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
Solution
References


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