Page 1 of 1

Unable to write on Shared Folder... sometimes!

Posted: 15. Feb 2011, 12:17
by Ra0
Hi,

I run Ubuntu as guest on my Win7 x64 host. I have created a shared folder, correctly mounted inside Ubuntu.
I run a web server on Ubuntu ; all files used by the web server are in the mounted shared folder (html / php and even SQL DB).
And the IDE I use for coding is directly on my Windows host.

My problem is the following : I can easily make modifications in code, save them and see the result thanks to Web server running on Ubuntu. Well, at least, at the beginning. Then, I noticed that after a couple of minutes (maybe hours), I cannot save any modification, unless I stop the Web server. Otherwise I have an error message saying that the file is already used by another application (and so read-only).

Any idea ???
btw my web server is Cherokee.

Thanks for suggestions.

Re: Unable to write on Shared Folder... sometimes!

Posted: 17. Feb 2011, 22:42
by Sasquatch
VB or the webserver is holding a lock on the file and Windows doesn't like that and barfs at you. Either unmount the SF temporarily to change the file or try a different share method, like Samba (default Windows sharing). With the latter, you might get the same problem though.