]> 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>
Fri, 28 Dec 2012 11:41:16 +0000 (12:41 +0100)
commitacb180395693ed05a4e6a1edb6796c8e6f644a72
treeb463fc5beae15ca50107bf38a97d22af3b748efe
parente1664ced64355e533cfd7d46a498635c5ddbd58c
Configurable symlink behaviour

Add a new volumes option 'follow symlinks'. The default setting is
false, symlinks are not followed on the server. This is the same
behaviour as OS X's AFP server.
Setting the option to true causes afpd to follow symlinks on the
server. symlinks may 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.
26 files changed:
NEWS
etc/afpd/acls.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
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/netatalk_conf.c
libatalk/util/unix.c
libatalk/vfs/ea_ad.c
libatalk/vfs/unix.c
libatalk/vfs/vfs.c
man/man5/afp.conf.5.tmpl