From: Frank Lahm Date: Mon, 1 Aug 2011 12:52:44 +0000 (+0200) Subject: Fix ACL detection, thanks to Rod Yager for spotting this X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=commitdiff_plain;h=247d71c7d16196834d9bab03ca6d0640f11a5537 Fix ACL detection, thanks to Rod Yager for spotting this --- diff --git a/etc/afpd/volume.c b/etc/afpd/volume.c index f2269bd4..78be58e0 100644 --- a/etc/afpd/volume.c +++ b/etc/afpd/volume.c @@ -747,8 +747,10 @@ static int creatvol(AFPObj *obj, struct passwd *pwd, volume->v_vid = ++lastvid; volume->v_vid = htons(volume->v_vid); #ifdef HAVE_ACLS - if (!check_vol_acl_support(volume)) - volume->v_flags &= ~AFPVOL_ACLS; + if (!check_vol_acl_support(volume)) { + LOG(log_debug, logtype_afpd, "creatvol(\"%s\"): disabling ACL support", volume->v_path); + options[VOLOPT_FLAGS].i_value &= ~AFPVOL_ACLS; + } #endif /* handle options */