Displaying 1 result from an estimated 1 matches for "s_irwxx".
Did you mean:
s_irwxu
2003 Feb 19
0
FW: compare st_mode & 07777, or Aix dirs always differ
...nsane.
Actually, I think the original definition (below), is just fine, as long as the non-POSIX-96
macro S_ISVTX is handled.
#define CHMOD_BITS (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO)
We already define ACCESSPERMS as 0777 in rsync.h, so I used that macro instead of the 3 S_IRWXx
macros. I applied this change, and I also update the call to do_chmod in rsync.c to also mask
down the bits. rsync will no longer play with the funky system-specific bits. If people need
it to do that, I'd ask that we get patches with configure tests for them.
Roderick, would you please g...