X-Git-Url: https://arthur.barton.de/gitweb/?p=netatalk.git;a=blobdiff_plain;f=etc%2Fafpd%2Facls.c;h=f5d3eaab1bebf841d01caefef0ef823b29ea4513;hp=a3d17f3fef07156cce44f1c47f3bc3e20822d9ca;hb=2bf71d3ccf20c072bc67a9d075b6ac8b0798021e;hpb=6d1ce9b85bf3d1813776830f5894d83b79d7e45f diff --git a/etc/afpd/acls.c b/etc/afpd/acls.c index a3d17f3f..f5d3eaab 100644 --- a/etc/afpd/acls.c +++ b/etc/afpd/acls.c @@ -1,5 +1,5 @@ /* - $Id: acls.c,v 1.7 2009-11-28 13:06:30 franklahm Exp $ + $Id: acls.c,v 1.8 2010-02-10 14:05:37 franklahm Exp $ Copyright (c) 2008,2009 Frank Lahm This program is free software; you can redistribute it and/or modify @@ -583,7 +583,7 @@ static int check_acl_access(const char *path, const uuidp_t uuid, uint32_t reque } /* File or dir */ - if ((stat(path, &st)) != 0) { + if ((lstat(path, &st)) != 0) { LOG(log_error, logtype_afpd, "check_access: stat: %s", strerror(errno)); ret = AFPERR_PARAM; goto exit;