aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2016-10-15Always skip valgrind for ioctl tests due to false negatives.Martin Pärtel-2/+4
2016-10-15Fix #41 (seeking in directory).Martin Pärtel-49/+114
Since version 1.31.1, bindfs has implemented readdir by always reading the entire directory and passing 0 offset to filler, but this does not work if the same directory pointer is rewound and reused. We remove the opendir and closedir implementations (which FUSE permits) and now always opendir() and closedir() in readdir. Alternatively we could have added a rewinddir() to our readdir.
2016-10-15(fix indents in configure.ac)Martin Pärtel-24/+24
2016-10-02Released 1.13.3.Martin Pärtel-1/+2
2016-10-02Require at least FUSE 2.8, and 2.9 for lock forwarding.Martin Pärtel-1/+20
Fixes #40.
2016-10-02Make autogen.sh fail if a subcommand fails.Martin Pärtel-1/+1
2016-09-25Released 1.13.2.Martin Pärtel-1/+2
2016-09-25Remove seekdir() call from bindfs_readdir().Martin Pärtel-2/+8
A regression was introduced in bindfs 1.13.1 with the fix (or rather, workaround) for #28. FUSE's contract for readdir says that if `filler` is passed a zero offset then the readdir implementation should ignore the offset parameter, but we didn't. Fixes #39.
2016-09-25ChangeLog entries for --enable-ioctl and --enable-lock-forwarding.Martin Pärtel-0/+5
2016-07-31Implemented --enable-lock-forwarding.Martin Pärtel-4/+184
This should address #36.
2016-07-31Mention --enable-ioctl in --help.Martin Pärtel-0/+1
2016-07-31(fix indentation)Martin Pärtel-6/+7
2016-07-31Added option --enable-ioctl to forward ioctl() calls.Martin Pärtel-0/+57
This should address #37.
2016-05-03Added man page entry for --[ug]id-offset.Martin Pärtel-0/+15
2016-05-03Added ChangeLog entry for --uid-offset and --gid-offset.Martin Pärtel-0/+4
2016-05-03Paranoid overflow checking for --uid-offset and --gid-offset.Martin Pärtel-14/+76
2016-05-03Basic tests for --uid-offset and --gid-offset.Martin Pärtel-0/+33
2016-05-03Added error checking to parsing --[ug]id-offset value.Martin Pärtel-2/+20
2016-05-03Minor cleanups.Martin Pärtel-14/+6
2016-05-02update according code reviewoc-10/+14
1. use strtoul instead of user_uid and group_gid 2. change uid/gid in chown_new_file and bindfs_chown
2016-04-20implement uid_offset and gid_offset optionsoc-0/+41
uid_offset/gid_offset can translate host user uid/gid to new uid/ gid inside the mountpoint. New uid/gid = <src uid/gid> + offset
2016-03-30Added test case for issue #30 and improved an earlier test case.Martin Pärtel-4/+25
2016-03-10Travis: make FUSE files accessible to test user.Martin Pärtel-0/+2
2016-03-10Have Travis run non-root tests as well.Martin Pärtel-1/+1
2016-03-10Fix argument order of `usermod` in test for some distros.Martin Pärtel-1/+1
2016-02-17Released 1.13.1.Martin Pärtel-2/+11
2016-01-19Added a test case for reading the entries of a large directory.Martin Pärtel-0/+12
2016-01-19Added a comment and some defensive error handling to readdir's filler call.Martin Pärtel-1/+10
2016-01-19Let libfuse manage readdir entries offsetJonathan Lima-1/+1
2015-11-28Added Travis status image.Martin Pärtel-0/+2
2015-11-28Added Travis config.Martin Pärtel-0/+11
2015-11-17Show the source dir in the first field on /etc/mtab.Martin Pärtel-1/+55
Fixes #15. Thanks @tyll!
2015-11-15Use `usermod user -G group -a` instead of `adduser user group` in a test.Martin Pärtel-1/+1
This makes it compatible with at least Fedora.
2015-11-15Define _DEFAULT_SOURCE when defining _BSD_SOURCE.Martin Pärtel-1/+6
_BSD_SOURCE has been deprecated in favor of _DEFAULT_SOURCE but both can remain defined for backwards-compatibility.
2015-11-15Fix overflow in parse_byte_count when "long" is 32-bit.Martin Pärtel-2/+2
2015-11-15Use automake's old serial test runner to avoid test output redirection.Martin Pärtel-1/+1
Fixes #26.
2015-11-15Converted README to MarkdownMartin Pärtel-61/+65
2015-11-15Added README entry about test suite.Martin Pärtel-0/+14
2015-11-15Fixed some root tests to use `nobody_group`.Martin Pärtel-4/+4
2015-11-15Use gid of user nobody for testsTill Maas-31/+32
There is no nogroup in Fedora, therefore use the gid of the nobody user.
2015-09-26Released 1.13.0.Martin Pärtel-1/+7
2015-09-20Implemented --resolved-symlink-deletion and added tests.Martin Pärtel-50/+310
2015-09-20Improved and documented --resolve_symlinks in some edge cases.Martin Pärtel-23/+74
2015-09-13Revert "Don't resolve broken symbolic links."Martin Pärtel-9/+4
I think ENOENT is fine. This reverts commit 5922a236d0ce7fcf911fce6ff7a52b11ddcf2142.
2015-09-13Minor whitespace fixes.Martin Pärtel-5/+5
2015-09-13bindfs_symlink: remove unused real_from.Martin Pärtel-11/+3
2015-09-13bindfs_rmdir: fix leak if lstat fails and only call it when flag is set.Martin Pärtel-8/+12
bindfs_rmdir should never get called on a symlink unless --resolve_symlinks is set (or a race condition changes the target into a symlink). This means we can avoid the lstat if the flag is not set. This may slightly enhance code readability too.
2015-09-13Merge remote-tracking branch 'hstern/resolve-symlinks'Martin Pärtel-83/+266
2015-09-13Added note about problems with some OS X xattr-based features (issue #21).Martin Pärtel-0/+4
2015-09-11Better handle symlinks with destructive system calls.Henry Stern-29/+42
The unlink, rmdir, and rename system calls behave unexpectedly if you resolve the symbolic link and perform the operation on that instead. It would leave a dangling symlink and delete the original instead which is probably not the intention. This commit adds another parameter to process_path to enable or disable the symlink resolution. The bindfs_unlink, bindfs_rmdir and bindfs_rename functions use this parameter to produce the expected result. rm -rf will still behave differently, deleting the contents of the symlinked directory before removing the symlink and not the linked directory.