]> arthur.barton.de Git - netatalk.git/commit
Configurable symlink behaviour
authorFrank Lahm <franklahm@googlemail.com>
Wed, 14 Nov 2012 15:02:41 +0000 (16:02 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Thu, 27 Dec 2012 15:12:29 +0000 (16:12 +0100)
commitb362b6f7b22b6e4e9e74760989f389149677917b
tree2cbe78e24c08a9996bd8b176f9d5698133bad49c
parentc267400f7b0ea332a2e8656205cf6e90fee22a6f
Configurable symlink behaviour

Add a new volumes option 'followsymlinks' which modifies Netatalk's
handling of symlinks. Without the option (default behaviour) symlinks
are not followed by afpd.
Setting the volume option causes afpd to follow any symlink on the
server. symlinks may then point outside of the AFP volume, currently
afpd doesn't do any checks for "wide symlinks".

In order to provide a somewhat consistent interface, add an API
of o* function wrappers for filesytem related functions.
These functions take an an additonal option arg (hence the o) which
tells the functions whether symlinks shall be followed or not.
27 files changed:
NEWS
etc/afpd/acls.c
etc/afpd/afp_asp.c
etc/afpd/catsearch.c
etc/afpd/desktop.c
etc/afpd/directory.c
etc/afpd/enumerate.c
etc/afpd/file.c
etc/afpd/filedir.c
etc/afpd/fork.c
etc/afpd/fork.h
etc/afpd/ofork.c
etc/afpd/quota.c
etc/afpd/unix.c
etc/afpd/volume.c
include/atalk/acl.h
include/atalk/adouble.h
include/atalk/unix.h
include/atalk/util.h
include/atalk/volume.h
libatalk/acl/Makefile.am
libatalk/adouble/ad_open.c
libatalk/util/unix.c
libatalk/vfs/ea.c
libatalk/vfs/unix.c
libatalk/vfs/vfs.c
man/man5/AppleVolumes.default.5.tmpl