]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/vfs/unix.c
Remove noadouble option
[netatalk.git] / libatalk / vfs / unix.c
index 659cd41162d95a004eaaefbada06432b03147433..c57249b3f28531f6d57fd5c1d5c95f97d3169aaf 100644 (file)
@@ -39,9 +39,7 @@ int stickydirmode(const char *name, const mode_t mode, const int dropbox, const
      *  Ignore EPERM errors:  We may be dealing with a directory that is
      *  group writable, in which case chmod will fail.
      */
-    if ( (chmod_acl( name, (DIRBITS | mode) & ~v_umask ) < 0) && errno != EPERM &&
-         !(errno == ENOENT && (dropbox & AFPVOL_NOADOUBLE)) )
-    {
+    if ((chmod_acl( name, (DIRBITS | mode) & ~v_umask ) < 0) && errno != EPERM) {
         LOG(log_error, logtype_afpd, "stickydirmode: chmod \"%s\": %s", fullpathname(name), strerror(errno) );
         retval = -1;
     }