Read-Only status when opening folder from XAMPP-VM

Hello.  I've installed XAMPP-VM on my mac machine and was successful in porting over a site.  After porting the site over, I was able to get the site to run.  However issues arise when I try and open up an existing site on the mounted virtual machine into PHPStorm.

When I open a folder up into PHPStorm from the virtual machine, all files are read only.  I can not edit them, only view them.  If I drag and drop a single file into PHPStorm, then I am able to edit.  I have changed the permissions of the folders to chmod -R 777 so that everything is readable and writable no matter where.  This shows up as such on the mounted drive from my parent machine in the terminal as well.  However this does not help.  This problem renders PHPStorm unusable for me.  Maybe there's something small I'm missing but the mounted drive itself is at 777 so I'm not sure why PHPStorm is having issues with a folder yet can edit single files.

Please advise,

Paul

0
4 comments

Apologies, I might be missing this from the initial message: are you able to edit the mounted project files in any other editor? Trying to understand if only PhpStorm has this issue or other editors as well.

Is the project in a root of a mounted drive? Please check if the issue occurs for projects not in a root of a mapped drive.

You can also try suggestions mentioned in this discussion: https://youtrack.jetbrains.com/issue/IDEA-117126

0
Avatar
Permanently deleted user

@Dmitry

 

Yes.  The files are editable one by one for some reason, and yes I can edit them in Sublime Text.  I don't know why it would show up as read only files if I decide to open a full directory.

 

No it is not in the root of the mounted directory.  The mounted directory is the /opt/lampp directory in the vm and this is found within .bitnami/stackman/machines/xampp/volumes/root

 

The directory I'm trying to open on the vm is: /opt/lampp/htdocs/my-folder and on the mac it would be .bitnami/stackman/machines/xampp/volumes/root/htdocs so basically if I open it from the drive on the mac it says they're all read only, but if I drag and drop a file that is from the mount in the lampp folder, it's writable in Phpstorm.  It's really weird.

0
Avatar
Permanently deleted user

You know what?  I'm so sorry.  It's now working all of a sudden.  I stepped away for a few days and came back so I think I may have restarted the mac over again within span of time.  I think that fixed it? *shrugs*  It was acting funky a few days ago.  Sorry about that.

0

No worries and thanks for the update!

0

Please sign in to leave a comment.