google-code-export / camlistore

Automatically exported from code.google.com/p/camlistore
Apache License 2.0
0 stars 0 forks source link

Respect ignoredFiles when using the FUSE mount #549

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is a setting in client-config.json which is used by camput to decide 
which files should not be uploaded. This flag is not respected when copying 
files through the mounted FUSE volume.

Just like camput, the policy will be applied to files, directories and symlinks.

An open question is if returning nil as the fs.Node is problematic.

Original issue reported on code.google.com by hgre...@gmail.com on 19 Nov 2014 at 11:27

GoogleCodeExporter commented 9 years ago

Original comment by mathieu....@gmail.com on 19 Nov 2014 at 11:39

GoogleCodeExporter commented 9 years ago
I have a "working" patch for this. The problem is what is the right thing to 
return as fs.Node and error. If you return nil, nil; you get an "invalid memory 
address or nil pointer dereference"  because FUSE is trying to do something 
with the file handle that it presumes exists (we have not returned an error).

Original comment by hgre...@gmail.com on 19 Nov 2014 at 11:55

GoogleCodeExporter commented 9 years ago
This issue has moved to https://camlistore.org/issue/549

Original comment by bradfitz on 14 Dec 2014 at 11:37