6

I'm using ubuntu 16.04, and lately i've been getting the following error in PyCharm:

PyCharm was unable to save some project files,
are you sure you want to close this project anyway?

Read-only files:
/home/adiel/PycharmProjects/spark-test/.idea/workspace.xml

When using ls -la on the specified .idea folder i get:

drwxrwxr-x 2 adiel adiel 4096 .idea

I've tried using chmod 777 on the folder, but it remains the same.

Any Ideas?

Thanks

5
  • See this
    – Rahul
    Commented Dec 21, 2016 at 17:28
  • @Rahul , this is for windows. how do i make this change in ubuntu? thanks
    – Adiel
    Commented Dec 21, 2016 at 17:44
  • Did you check the permissions for workspace.xml ? Post in your Q also.
    – Rahul
    Commented Dec 21, 2016 at 17:49
  • Thanks. when using sudo chmod for workspace, problem is solved. if you can post this as an answer i'll mark it as accepted :)
    – Adiel
    Commented Dec 21, 2016 at 18:03
  • I'm glad it worked. I'll write an answer.
    – Rahul
    Commented Dec 21, 2016 at 18:17

1 Answer 1

6

Error message:

PyCharm was unable to save some project files,
are you sure you want to close this project anyway?

Read-only files:
/home/adiel/PycharmProjects/spark-test/.idea/workspace.xml

According to your error message problme is with workspace.xml file. You have to provide appropriate permission to workspace.xml file using sudo chmod command.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .