Open core-ai-bot opened 3 years ago
Comment by jasonsanjose Monday Sep 16, 2013 at 18:06 GMT
@
Cyrene Is the path to this project under C:\Program Files
? If it is, we can't write to the path due to windows security. See #1577.
Comment by Cyrene Monday Sep 16, 2013 at 18:22 GMT
Brackets Sprint 30 is installed in the C:\Program Files (x86) as by default, but the actual project files are in C:\User\file\file\Desktop..
What's odd to me is that it seems to be fine with me saving and working for a while and then it stops and throws up that error.
Comment by JeffryBooher Thursday Sep 19, 2013 at 17:01 GMT
A sharing violation means that some other process has it locked for exclusive access. @
Cyrene Do you have any other programs running when you're working in brackets with these files?
Comment by Cyrene Thursday Sep 19, 2013 at 17:22 GMT
The only other application that would be accessing those files while I'm working is Firefox v24.0.
Comment by JeffryBooher Thursday Sep 19, 2013 at 17:36 GMT
@
Cyrene can you download Process Explorer from Microsoft, and the next time this happens, run Process Explorer and do a "Find > Handle or DLL" and type in the filename that gives you the sharing violation and look to see what other processes have that file locked.
Comment by ToonVo Saturday Sep 28, 2013 at 18:36 GMT
I had the same problem with brackets 31. According to Process Explorer it was caused by taskhost.exe. After closing the explorer (from where I launched Brackets with "Open with" context menu option) I was able to save again. The file was not located in C:\Program Fiiles by the way. It seems you can open a file from the explorer but you have to close it afterwards. Or am I doing something wrong here (windows settings or whatever)?
Comment by peterflynn Monday Sep 30, 2013 at 20:00 GMT
@
ToonVo taskhost.exe is a generic container for all background services. The next time you see this problem, you can try to get more details about what's running inside taskhost.exe:
Comment by JeffryBooher Tuesday Mar 18, 2014 at 02:11 GMT
@
Cyrene we implemented recently a new file system layer which hopefully solves your issues but since we haven't heard from you in 6 months on this issue, we're going to close this as not a bug. Let us know if you continue to see problems saving files.
Comment by peterflynn Tuesday Mar 18, 2014 at 04:40 GMT
I doubt the new FileSystem stuff would change anything about this bug, but it also sounds like this wasn't our issue -- if some other app has the file locked, there's nothing we can do to write to it (as seen in original report where other apps are blocked too).
Comment by AndrewMcDowe Wednesday Jan 04, 2017 at 13:46 GMT
I'm very late to this party but I fixed this by checking if the folder was Read Only. Try switching that off and see if it works.
Issue by Cyrene Thursday Sep 05, 2013 at 21:42 GMT Originally opened as https://github.com/adobe/brackets/issues/5079
System: Windows 7 Sprint 30
Description: I have been getting this error since at least sprint 26 where when I ctrl+s while Live View is active, Brackets will toss up this dialog saying a security error has occurred and I am not allowed to save the html file.
Expected: Normal saving of file without issue using ctrl+s quick-key command.
Actual: I have found this happens after I have already been editing and saving the document during the same session.
Workaround: "Save As" a new document. Once the file is tossing up this error in Brackets, I can no longer save changes to it - I have to delete the effected file. I can't even use a different program (see below).