Displaying 2 results from an estimated 2 matches for "lp_create_mask".
2003 Mar 11
0
PATCH: rsyncd.conf permission options
...force_directory_mode, NULL, 0},
{NULL, P_BOOL, P_NONE, NULL, NULL, 0}
};
@@ -374,6 +386,10 @@
FN_LOCAL_STRING(lp_dont_compress, dont_compress)
FN_LOCAL_INTEGER(lp_timeout, timeout)
FN_LOCAL_INTEGER(lp_max_connections, max_connections)
+FN_LOCAL_INTEGER(lp_create_mask, create_mask)
+FN_LOCAL_INTEGER(lp_force_create_mode, force_create_mode)
+FN_LOCAL_INTEGER(lp_directory_mask, directory_mask)
+FN_LOCAL_INTEGER(lp_force_directory_mode, force_directory_mode)
/* local prototypes */
static int strwicmp( char *psz1, char *psz2 );
diff -ur rsync-2.5.5/proto.h rs...
2005 Apr 01
1
Permissions assignment problem
...lesystem type.
I've found that I can't change the permissions on files to arbitrary
values; they must not be greater than the bits specified in 'create
mask' (and friends). The problem appears to be
source/smbd/trans2.c:795 (function unix_perms_from_wire); I think it's
applying lp_create_mask unconditionally (instead of just applying it
when a file's being created - I suppose it doesn't know one way or
another, of course).
If anybody would like more information, then by all means just say so. I
have attached my complete smb.conf for reference.
--
Arguing with an engineer...