search for: do_mkdir_defmode

Displaying 1 result from an estimated 1 matches for "do_mkdir_defmode".

2006 Feb 24
2
DO NOT REPLY [Bug 3549] New: rsync applies umask to some directories even when a default ACL takes effect
...t be applied. The correct technique, which is already used in get_local_name to create a top-level destination directory outside the transfer, is to set the umask back to the original umask temporarily and pass 0777 to mkdir. The patch I will soon attach factors this technique out into a function do_mkdir_defmode in util.c and changes both the current get_local_name code and calls to do_mkdir(x, 0777 & ~orig_umask) to calls to do_mkdir_defmode(x). Even though the patch is only needed in the presence of ACLs, it does not mention ACLs itself, so it can be applied to the trunk. -- Configure bugmail: ht...