×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Python script - permission error in calling another python file

Python script - permission error in calling another python file

Python script - permission error in calling another python file

(OP)
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.

RE: Python script - permission error in calling another python file

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources