]> arthur.barton.de Git - netatalk.git/commitdiff
Dont set ATTRBIT_SHARED, OS X doesn't either
authorFrank Lahm <franklahm@googlemail.com>
Thu, 17 Nov 2011 16:29:15 +0000 (17:29 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Thu, 17 Nov 2011 16:29:15 +0000 (17:29 +0100)
NEWS
etc/afpd/directory.c

diff --git a/NEWS b/NEWS
index 29ffa95692df63e5afb82c4b709a72ffcf494ef1..7441ac856c1cb6039d7719ff0a1e24be09ca5c7f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ Changes in 2.2.2
        AppleVolumes file
 * UPD: afpd: Convert passwords from legacy encoding (wire format) to host
        encoding
+* UPD: afpd: Don't set ATTRBIT_SHARED flag for directories
 * FIX: afpd: ACL access checking
 * FIX: afpd: Fix an error when duplicating files that lacked an AppleDouble file
        which lead to a possible Finder crash
index 02f60108383a51364cec30702f433faecdbffdf9..78670ac1cfb1c6b339ae7d71f7f07c3d0ab87cda 100644 (file)
@@ -1545,7 +1545,6 @@ int getdirparams(const struct vol *vol,
                 ashort = htons(ATTRBIT_INVISIBLE);
             } else
                 ashort = 0;
-            ashort |= htons(ATTRBIT_SHARED);
             memcpy( data, &ashort, sizeof( ashort ));
             data += sizeof( ashort );
             break;