简体   繁体   中英

phpstorm write issues in ./idea directory

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

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM