Project

General

Profile

Bug #1194

CDB access failure due to suds cache permission problem

Added by Rajaram, Durga over 11 years ago. Updated over 11 years ago.

Status:
Open
Priority:
High
Assignee:
Wilson, Antony
Category:
Python API
Start date:
19 December 2012
Due date:
% Done:

0%

Estimated time:

Description

  • Trying to access CDB via python api fails due to an apparent suds cache/permission problem.
  • Test python script attached [ check_cdb.py ]
  • The problem seems to be with the permissions for the /tmp/suds directory
  • Works fine on a single-user machine. Verified that it works on my single-user machine -- see attached log check_cdb_single.txt
  • But with multiple users, when /tmp/suds exists under user1's name/group, then user2 is unable to remove/write to that directory causing the failure -- see attached log check_cdb_multi.txt

[ the installation test failures on the IIT CentOS machine are related to the scripts and code trying to access CDB ]


Files

check_cdb.py (283 Bytes) check_cdb.py Python script to access CDB Rajaram, Durga, 19 December 2012 18:42
check_cdb_single.txt (1.17 KB) check_cdb_single.txt Succeeds on single user machine Rajaram, Durga, 19 December 2012 18:42
check_cdb_multi.txt (1.1 KB) check_cdb_multi.txt Fails on multi user machine Rajaram, Durga, 19 December 2012 18:42
#1

Updated by Rajaram, Durga over 11 years ago

As a workaround, I got the permissions changed on /tmp/suds so that it was writable by others and that fixed it,
but I think there needs to be a more robust solution.

#2

Updated by Rogers, Chris over 11 years ago

  • Project changed from MAUS to Configuration Database
  • Category changed from Python API to Python API
  • Assignee set to Wilson, Antony

Moved to CDB project

Also available in: Atom PDF