Question

When I try to save a file to disc within a project directory, I get this error:

java.io.IOException: W:\\[projectname]\\.idea not found

Some research tells me, the (network) location is not writable. I'm trying to write this file from phpstorm in windows 8. The drive (W:) is a network drive to a linux machine.

The directory I try to write to is chowned to the same user and group as I connect with in windows.

This is a result of ls -alh:

drwxrwxrwx  2 correct-user correct-user
Was it helpful?

Solution 2

In my samba settings I added a veto files parameter. Removing this parameter allows me to write dot files again.

Samba describes this setting as follows: This is a list of files and directories that are neither visible nor accessible

OTHER TIPS

On Linux and other Unix-like operating systems files starting with a . are considered 'hidden files' by default. As such, when the Windows-based program creates it, it suddenly doesn't see it anymore right after since it's hidden, even though the creation was successful. You can fix this in your Samba config by adding the following line to the share configuration:

    hide dot files = no
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top