Displaying 2 results from an estimated 2 matches for "test_if_acls_match".
2005 Feb 27
1
Problem/fix combining -A and --link-dest
...other words, ACLs weren't being properly considered when determining
whether to link or copy a file.
I built into my version a fix.??Has?this?already?been?fixed?in?2.6.3?or?the?
upcoming .4, or is someone interested in what I did?
What I did was pretty simple.??To?acls.c?I?added?a?function?
test_if_acls_match().??I?then?modified?skip_file()?in?generator.c?to?use?
this, instead of stat()'s modes, if both link_dest and preserve_acls are
set.??
This solves both of the above problems.??The?differences?in?stat()'s?return?
of modes between Linux and Solaris is avoided because skip_file() isn't...
2005 Apr 04
0
Problem/fix combining -A and --link-dest
...other words, ACLs weren't being properly considered when determining
whether to link or copy a file.
I built into my version a fix. Has this already been fixed in 2.6.3 or the
upcoming .4, or is someone interested in what I did?
What I did was pretty simple. To acls.c I added a function
test_if_acls_match(). I then modified skip_file() in generator.c to use
this, instead of stat()'s modes, if both link_dest and preserve_acls are
set.
This solves both of the above problems. The differences in stat()'s return
of modes between Linux and Solaris is avoided because skip_file() isn't...