]> arthur.barton.de Git - netatalk.git/commitdiff
Missing ad_open flag for hf
authorFrank Lahm <franklahm@googlemail.com>
Sun, 9 Jan 2011 10:06:56 +0000 (11:06 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Sun, 9 Jan 2011 10:06:56 +0000 (11:06 +0100)
etc/afpd/volume.c

index d5c0fba84b6cdd426f11458571509ed813f83162..ccd4b68ebc21582e7256323f3a1e3441a788dc96 100644 (file)
@@ -2592,7 +2592,7 @@ static int create_special_folder (const struct vol *vol, const struct _special_f
     if ( !ret && folder->hide) {
         /* Hide it */
         ad_init(&ad, vol->v_adouble, vol->v_ad_options);
-        if (ad_open(&ad, p, ADFLAGS_DIR, O_RDWR | O_CREAT, 0666) != 0) {
+        if (ad_open(&ad, p, ADFLAGS_HF | ADFLAGS_DIR, O_RDWR | O_CREAT, 0666) != 0) {
             free(p);
             free(q);
             return (-1);