aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2015-09-11Don't resolve broken symbolic links.Henry Stern-4/+9
This commit offers an alternative behaviour of not resolving broken symbolic links in case returning ENOENT is undesirable behaviour.
2015-09-11Add functionality to transparently resolve symbolic links.Henry Stern-82/+247
There exist use cases where you would want bindfs to transparently resolve symbolic links, such as when you are creating a chroot environment with a bound fs. This change adds an option, --resolve-symlinks, that modifies the behaviour of the process_path and bindfs_symlink functions. The process_path function is modified to return a mutable char* that must be freed. When settings.resolve_symlinks is enabled the process_path function calls realpath on the relative path to transparently resolve the symbolic link. A side effect of this change is that broken symbolic links will appear in directory listings but any attempt to access the file of that name will return the ENOENT error code. A subsequent commit offers an alternative behaviour of not resolving broken symbolic links. All callers of process_path are modified to check the return value of process_path to make sure realpath and strdup were successful. They also free the result after use to prevent memory leakage. The bindfs_symlink function is modified to return EPERM when resolve-symlinks is enabled. This must be done to prevent access to arbitrary files on the filesystem.
2015-09-09Released 1.12.7.Martin Pärtel-1/+6
2015-09-09Added recommended osxfuse options to readme and man page.Martin Pärtel-0/+9
As recommended by @retrography in #21.
2015-09-03Put Apple-specific includes and definitions inside an #ifdef __APPLE__.Martin Pärtel-2/+2
2015-09-03Merge pull request #22 from retrography/mac-xattrsMartin Pärtel-0/+10
Minor patches for MacOSX compilation
2015-09-01Minor patches for MacOSX compilationMahmood Shafeie Zargar-0/+10
2015-08-26Add apple-specific *xattr implementations. Untested.Martin Pärtel-18/+95
Copied from https://github.com/osxfuse/fuse/blob/master/example/fusexmp_fh.c
2014-09-07Tests: use sudo instead of su.Martin Pärtel-3/+3
BSD su is different, apparently.
2014-09-07Gitignore new test autotools test stuff.Martin Pärtel-0/+3
2014-06-30Released 1.12.6.Martin Pärtel-1/+2
2014-06-30Implemented rate limiter.Martin Pärtel-30/+390
Fixes #12.
2014-06-11Released 1.12.5.Martin Pärtel-1/+7
2014-06-11Merge pull request #18 from alajovic/masterMartin Pärtel-1/+0
Fix caching of group members
2014-06-11Fix caching of group membersAndrej Lajovic-1/+0
2014-06-05Released 1.12.4.Martin Pärtel-1/+9
2014-06-03Fix --ctime-from-mtime accuracy.Martin Pärtel-3/+21
Use struct stat's st_mtim instead of st_mtime when available. Fixes #16
2014-05-10(rm more trailing spaces)Martin Pärtel-35/+35
2014-05-10Use lutimes() when utimensat() unavailable (#6).Martin Pärtel-50/+50
2014-05-10Fix tests (#14)Martin Pärtel-23/+32
2014-05-10(removed trailing spaces)Martin Pärtel-100/+99
2014-05-10Merge pull request #14 from hanxue/remove-osx-utimens-depMartin Pärtel-3/+30
Remove fuse utimens dependency for OSX
2014-05-09Remove fuse utimens dependency for OSXLee Hanxue-3/+30
2014-01-22man page: use newer fstab syntax (issue #9).Martin Pärtel-1/+6
2013-10-02Migrate to AC_CONFIG_HEADERSSebastian Pipping-1/+1
2013-09-24readme: we now require FUSE 2.6.0+.Martin Pärtel-1/+1
2013-09-23Released 1.12.3.Martin Pärtel-1/+2
2013-09-23Implement fuse_utimens instead of fuse_utime.Martin Pärtel-10/+69
Fixes utime'ing symlinks. Seems to also fix an attribute caching problem.
2013-07-22Changed home page to http://bindfs.org/Martin Pärtel-6/+5
2013-07-22release script: Put docs to docs/ dir.Martin Pärtel-12/+7
2013-07-22Released 1.12.2.Martin Pärtel-1/+2
2013-07-22Document chmod-filter on man-page.Martin Pärtel-0/+6
2013-07-22Rename chmod-perms to chmod-filter.Martin Pärtel-9/+12
2013-07-22(free chmod_permchain in at_exit)Martin Pärtel-0/+2
2013-07-22Merge remote-tracking branch 'antage/master'Martin Pärtel-0/+22
2013-07-22(build cleanup)Martin Pärtel-4/+1
2013-07-22Alter chmod permissions when using --chmod-permsAnton Ageev-0/+22
2013-05-08Released 1.12.1.Martin Pärtel-2/+7
2013-05-07Add -pthread to LDFLAGSMartin Pärtel-1/+4
fuse's pkg-config no longer includes it.
2013-03-01Released 1.12.Martin Pärtel-2/+10
2013-03-01Rename --user/group to --force-user/group.Martin Pärtel-9/+49
The previous names were deprecated as they conflicted with standard mount options. --owner was also deprecated for consistency. The shorthands -u and -g were not deprecated. This fixes issue 25.
2012-09-15Released 1.11.Martin Pärtel-1/+9
2012-09-15Be single-threaded by default. Documented a race condition.Martin Pärtel-9/+29
2012-09-15tests: fail test on nonsuccessful exit codeMartin Pärtel-1/+6
2012-09-14Added a note about a race condition when creating new files.Martin Pärtel-0/+2
2012-09-14Added unit test for setgid behavior.Martin Pärtel-0/+13
2012-09-14Use my_dirname instead of dirname for thread-safety.Martin Pärtel-3/+3
2012-09-14Implemented my_dirname and added unit tests for it.Martin Pärtel-1/+118
2012-09-14Respect setgid bit on directories when using --create-as-userJonathan Dieter-1/+11
Signed-off-by: Jonathan Dieter <jdieter@lesbg.com>
2012-07-15Released 1.10.7Martin Pärtel-1/+8