Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm Community Edition problems with read-only status on project files

Tags:

I'm using PyCharm Community Edition 3.4.1 on Windows 7 64bit.

Whenever i open my project in PyCharm, a window comes up saying "Clear Read-Only Status": [x] Using file system. [] Using version control inegration. Pressing [OK] has no effect.

Later, when i try to save the project, it says: Could not save project! Unable to save project files, check permissions blabla ...

On exiting, it says: Unsaved Project. PyCharm was unable to save some project files, are you sure you want to close this project anyway?

Obviously, i checked read-only status in Windows explorer and forced all files to read/write access. But that doesn't solve the issue. Also i can edit the files with other text editors and save them just fine. Most files are under revision control in a Mercurial (Hg) repository, if that matters.

This is getting really annoying. Any suggestions?

(Another thing that annoys me is my inability to control line breaks in stackoverflow text! Just never looks how i intended. If someone has a hint for that, I'd be glad too)

like image 661
Scrontch Avatar asked Aug 03 '14 19:08

Scrontch


1 Answers

For OS X,

Navigate to your project directory and run

sudo chown -R $(whoami) .
like image 150
Chris Avatar answered Oct 04 '22 17:10

Chris