]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/acls.c
Configurable symlink behaviour
[netatalk.git] / etc / afpd / acls.c
index 82d61eb5444d88512ae58aa9ef6ed9c6496f4247..7290b31bf24a31882e5dae3e558263987acd1398 100644 (file)
@@ -1372,7 +1372,7 @@ static int check_acl_access(const struct vol *vol,
     }
 #endif
 
-    EC_ZERO_LOG_ERR(lstat(path, &st), AFPERR_PARAM);
+    EC_ZERO_LOG_ERR(ostat(path, &st, vol_syml_opt(vol)), AFPERR_PARAM);
 
     is_dir = !strcmp(path, ".");