Skip to content

Commit c0bcd0b

Browse files
committed
Correct read mode causing permission deny if the file is not owned by the user.
1 parent 91e90d7 commit c0bcd0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/python/wlsdeploy/tool/create/atp_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def fix_jps_config(rcu_db_info, model_context):
6868

6969
def get_atp_connect_string(tnsnames_ora_path, tns_sid_name):
7070
try:
71-
f = open(tnsnames_ora_path, "r+")
71+
f = open(tnsnames_ora_path, "r")
7272
try:
7373
text = f.read()
7474
finally:

0 commit comments

Comments
 (0)