Eclipse workspace on cifs share .snap files
I'm stuck with a problem. I'm using eclipse IDE. I have a workspace stored on a freenas cifs share. The issue I'm facing is that some files in eclipse's workspace's metadata are named .snap and these file name is forbidden by freenas with the following "veto files = /.snap/.windows/.zfs/" in smb4.conf.
I've tried playing with auxiliary parameters in the share settings but you cannot remove settings you can just add more veto.
For testing purpose I modified the "/usr/local/libexec/nas/generate_smb4_conf.py" file to remove the veto on .snap. I can now confirm for sure, this is the issue. I don't see any reason to "hide" .snap files. Which process are they used by? I can't find any on my FS.
I have this as a temporary "fix" and I know that at the next update it will be lost.
Thanks in advance for giving me your thoughts about it and proposal on how to definitely fix it.
#3 Updated by Benjamin AMADON about 7 years ago
I don't know for UFS since it's a FS that I don't know very much of but for zfs, it makes no sense to me even .snapshot. There is a snapshot folder in .zfs folders but it's not hidden once you are in .zfs.
I don't know what's UFS future in freenas but it would be logical to conditionally ignore this veto for shares with underlying zfs.