]> arthur.barton.de Git - netatalk.git/commitdiff
sharing home folders corrupted the per volume umask
authorFrank Lahm <franklahm@googlemail.com>
Wed, 9 Jun 2010 11:49:14 +0000 (13:49 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Wed, 9 Jun 2010 11:49:14 +0000 (13:49 +0200)
NEWS
etc/afpd/volume.c

diff --git a/NEWS b/NEWS
index 70235ff4cdea45306bb0084cd90a3cdecef9e48e..1010d63397f8937672ac3687ecd49785fc5a9b9f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,7 +4,9 @@ Changes in 2.1.2
 * FIX: afpd: fix for possible crash in case more then one server is
        configured in afpd.conf.
 * FIX: afpd: ExtendedAttributes in FreeBSD
-
+* FIX: afpd: sharing home folders corrupted the per volume umask.
+* UPD: afpd: umask for home folders is no longer taken from startup umask.
 Changes in 2.1.1
 ================
 
index bda4b71b1f9c6f884e894615a31c8fed97da1477..b3821063ef277f0097d404d2bf9a8beac9f752ba 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id: volume.c,v 1.127 2010-04-16 18:28:45 franklahm Exp $
- *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
  */
@@ -1167,10 +1165,6 @@ static int readvolfile(AFPObj *obj, struct afp_volume_name *p1, char *p2, int us
                 strcat( tmp, "/" );
                 strcat( tmp, p );
             }
-            /* Tag a user's home directory with their umask.  Note, this will
-             * be overwritten if the user actually specifies a umask: option
-             * for a '~' volume. */
-            save_options[VOLOPT_UMASK].i_value = obj->options.save_mask;
             /* fall through */
 
         case '/' :