dustymabe/vagrant-sshfs

File and folder permissions / owner / group

n8green opened this issue · 1 comments

Whilst file syncing seems to work between host and guest, I seem to be having a problem with file and folder permissions. This is preventing me from configuring Apache to operate as required.

I'm running this plugin on a Windows 10 host, Vagrant 1.9.2, Centos 7 host.

I don't seem to be able to change file or folder permissions from the guest, or change the owner/group.

Currently, all files/folders are assigned to a numerical user/group, which, as far as I can see when inspecting /etc/passwd, don't exist (1053163:1049080). Should this not be the owner:group of the user which initiates the SSH connection (in my case I would expect the default of vagrant:vagrant)?

Am I doing something obviously wrong or is this a bug?

It seems that it was selinux causing my permissions issues with apache. Disabling it resolves the issue.