Win 8.1 / XAMPP: Could not save project

Hi PHPStorm-Community,

this is a follow-up of my posting from 14.10.2013. Meanwhile, I've got Windows 8.1 Home Premium with XAMPP 1.8.2-2.

To work on an existing (proudly handcraftedt) project, I invoked File > New project from existing files, selected "Web server is installed locally, source files are located elsewhere locally". I entered "http://localhost" as web server root, "myproject" as web path and "c:\xampp\htdocs\myproject" as local path. All files are found and everything seems to work fine - up to the moment, when I try to save the project FIle.

The error "Could not save project!: Unable to save project files. Please ensure project files are writable and you have permissions to modify them. Try to save project again." appears,Sometimes, a window "Clear Read-Only-Status" appears, but that doesn't work. Outside of PHPStorm, I can CRUD every file in the folder without any security issues. I tried to move the Apache server root to a completely new folder: no change :-( I uninstalled my Antivirus-Software (BitDefender): no change :-(

Does anyone of you have any idea?

Thanks in advance.

--
Bfn
Michael

2 comments

Hi there,

Well ... I may only suggest to:
1) Try running IDE as Administrator (Right click | Run as Administrator)
2) See if Process Monitor will give any hints
3) Try using "icacls" command on that folder to double check if current user has enough rights (Windows protects C: drive a bit too much .. that's why I prefer keeping most of the stuff on drive other than C:)

Also .. instead of New Project Wizard -- just try "Open Directory" (everything else that wizard does can be configured/done manually later).

0

Hi Andriy,

happy to see, that I'm not the only one working on Saturday ;-)

> 1) Try running IDE as Administrator (Right click | Run as Administrator)
No change.

2) See if Process Monitor will give any hints
No,

> 3)  Try using "icacls" command on that folder to double check if current  user has enough rights
> (Windows protects C: drive a bit too much ..  that's why I prefer keeping most of the stuff on drive other than C:)
Didn't come to this point, because I found another solution meanwhile.

I figured out, that a usergroup named "authenticated users" (in german: "Authentifizierte Benutzer") had access rights in folders outside c:\users\... . I created c:\test, and granted all access rights to "authenticated users", moved my PHPs into that folder. Now, "File > New project from existing files" worked fine in this folder.

I figured out, that for my original htdocs-folder c:\users\...\htdocs, the usergroup "authenticated users" didn't have any rights.
authentifizierte benutzer.jpg
That makes sense from a security point of view, but for PHPStorm, this usergroup seems to be essential. Since I granted all access rights to  "authenticated users", PHPStorm works fine in that folder, too :-)

--
Bfn
Michael

0

Please sign in to leave a comment.