Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Python script - permission error in calling another python file

Status
Not open for further replies.

slimjimmy

Nuclear
Apr 5, 2011
16
Hi,

I'm running a basic python script through the scripting interface in Abaqus. In the script another python file is called which operates on a element stresses previously outputted into a text file. The script runs fine on windows, however I have recently changed to Ubuntu and am now having an issue calling this python file.

When the script tries to open the python file I get an IOError: 13 Permission denied error. I'm thinking this is a very simple permissions error and that but changing the permissions the issue should be resolved. I have changed the permissions of the file to allow read write and execute for the file owner, groups and others however the same error appears. In fact, running the script actually removes the read, write and execute privileges for the owner and groups but keeps them for other. I'm am working in the home directory so I don't need to worry about sudo access.

Anyone have any ideas? Am I missing something small here.

 
Replies continue below

Recommended for you

That is strange I would have done exactly what you have done.

Curious to se if anybody else has this issue with Ubuntu as I have been considering changing from Windows.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor