]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/directory.c
added dropbox as a volume option when DROPKLUDGE is compiled in
[netatalk.git] / etc / afpd / directory.c
index eb91a13be015c00275799cf5256ec750375d338d..92c4f549bafcb8c69a59347481bf329f0a91c18b 100644 (file)
@@ -1297,7 +1297,8 @@ int setdirparams(vol, path, bitmap, buf )
            }
 #endif
 
-           if ( setdirmode( mtoumode( &ma ), vol_noadouble(vol)) < 0 ) {
+           if ( setdirmode( mtoumode( &ma ), vol_noadouble(vol),
+                             (vol->v_flags & AFPVOL_DROPBOX)) < 0 ) {
                switch ( errno ) {
                case EPERM :
                case EACCES :