You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a folder that only root can access in my project containing sensitive data and don't want it to be exposed in the VM so I added it to the exclusion list. But rsync-auto keeps failing because it doesn't have permission to the folder, where it doesn't have to check at all.
Once #13066 is merged this problem can be avoided using the polling method (as suggested by guard/listen#251 (comment)). This can be enabled in Vagrant by running vagrant rsync-auto --poll
I'm going to go ahead and close this issue now that #13066 is merged. This problem can now be avoided using vagrant rsync-auto --poll (using the polling option). This workaround must be used when running on a mac host due to limitations around how file checking works.
I have a folder that only root can access in my project containing sensitive data and don't want it to be exposed in the VM so I added it to the exclusion list. But
rsync-auto
keeps failing because it doesn't have permission to the folder, where it doesn't have to check at all.Debug output
https://gist.githubusercontent.com/kamuridesu/9db490f11d32a5c0c45393d9d6ebe396/raw/180facd7df0740de043082ade45f97d805ad94e7/vagrant_rsync_auto.log
Expected behavior
Synchronize folders, ignoring the paths on rsync__exclude.
Actual behavior
Error, trying to add files that lack permission.
Reproduction information
Vagrant version
Vagrant 2.3.0
Host operating system
Arch Linux Rolling Release
Kernel: 5.19.11-arch1-1
Guest operating system
Debian 10 "Buster"
Kernel: 4.19.0-18-amd64
Steps to reproduce
Vagrantfile
The text was updated successfully, but these errors were encountered: