X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=etc%2Fafpd%2Fdirectory.c;h=92c4f549bafcb8c69a59347481bf329f0a91c18b;hb=a6fc3d689fcb3a97ed8e5a3f409e05dd04187361;hp=eb91a13be015c00275799cf5256ec750375d338d;hpb=2f74755bf9bb1f2729b49aba0f93c643acb9ec19;p=netatalk.git diff --git a/etc/afpd/directory.c b/etc/afpd/directory.c index eb91a13b..92c4f549 100644 --- a/etc/afpd/directory.c +++ b/etc/afpd/directory.c @@ -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 :