Wayne Davison
3e2e4b5a33
Tweak the copyright year.
2019-03-16 09:15:49 -07:00
Wayne Davison
ad17b21889
Silence fall-through warnings.
2019-01-04 15:06:30 -08:00
Wayne Davison
473108ae6e
Tweak copyright date.
2018-01-14 19:55:07 -08:00
Wayne Davison
453914e35b
Update the copyright year.
2015-08-08 12:47:03 -07:00
Wayne Davison
dfa5b49110
Bump the year to 2014.
2014-01-26 09:29:15 -08:00
Wayne Davison
bba31ddf12
Avoid ACL and/or xattr lookups on IS_MISSING_FILE() entries.
...
Fixes bug 10381.
2014-01-19 12:24:01 -08:00
Wayne Davison
d34eaa8183
Use 0 (not NULL) for a non-pointer arg.
2013-12-25 14:19:30 -08:00
Wayne Davison
7e1a9c4d79
Update copyright year.
2013-01-19 11:05:53 -08:00
Wayne Davison
582aead623
Expand NO_ENTRY items from fake-super ACLs in get_rsync_acl().
2011-05-25 08:59:47 -07:00
Wayne Davison
2792a83d58
Don't send user/group names for ACLs with --numeric-ids.
...
Fixes bug 8020.
2011-03-18 14:59:03 -07:00
Wayne Davison
7766e67321
Allow a failure of EINVAL to mean no ACLs are available.
...
(If our POSIX types aren't valid, we can't handle the ACLs.)
2011-02-22 08:52:48 -08:00
Wayne Davison
6500e0769a
Avoid reading ACL/xattr info on filetypes not being copied.
...
Make OS X avoid xattr access on device/special files.
Fixes bug 5458.
2011-01-03 11:20:04 -08:00
Wayne Davison
e8bb37f567
Better mask handling, including some changes to help solaris.
2009-09-12 09:40:31 -07:00
Wayne Davison
ee1c00fea8
Pass "new_mode" to set_acl() and change its return values.
2009-09-12 09:27:07 -07:00
Wayne Davison
1b502f3ec2
Put file descriptor arg at the start of the arg list for consistency.
2009-09-12 09:13:38 -07:00
Wayne Davison
cb197514d9
Fixed an ACL/xattr corruption issue where the --backup option could cause
...
rsync to associate the wrong ACL/xattr information with received files.
2009-04-10 16:22:44 -07:00
Wayne Davison
5eb8bd4962
Don't try to simplify an ACL that has a mask w/o any named values.
2009-04-09 22:49:24 -07:00
Wayne Davison
b3bf9b9df9
Update the copyright year.
2009-01-03 10:57:14 -08:00
Wayne Davison
951e826b75
Added the --info=FLAGS an --debug=FLAGS options, which allows
...
fine-grained output control (in addition to the coarse -v).
2008-07-13 20:51:08 -07:00
Wayne Davison
d3d07a5e86
Include 2008 in the copyright years.
2008-03-01 12:01:41 -08:00
Wayne Davison
d07edfc895
Added a default to the new switch in str_acl_type().
2008-02-23 08:14:56 -08:00
Wayne Davison
a2c473bb59
Tweaked the ACL type-names returned by str_acl_type()
...
so that error messages are a little clearer.
2008-02-23 07:33:32 -08:00
Wayne Davison
c78cb8f349
Made some user-/group-name pointers "const".
2007-12-29 22:52:42 -08:00
Wayne Davison
3f0211b63a
New logging categories added to allow differentiation between
...
transfer errors, normal errors, and warnings. New messages are
translated into old FERROR/FINFO categories for older protocols.
2007-11-22 10:05:36 -08:00
Wayne Davison
4b1553e2d4
If the xattr data is bogus in get_rsync_acl(), free the buffer.
2007-11-05 18:15:01 +00:00
Wayne Davison
6be5ac61bd
Simplified a SMB_ACL_NEED_SORT conditional because some preprocessors
...
couldn't handle an #if embedded in a macro.
2007-10-05 02:45:09 +00:00
Wayne Davison
f57ab2f718
When running with --fake-super, get/put ACLs from/to an xattr and don't
...
range-check the incoming values.
2007-09-29 16:06:34 +00:00
Wayne Davison
5b934f5133
Added OS X ACL support, using slightly tweaked sys_acl_*()
...
functions.
2007-09-28 21:54:07 +00:00
Wayne Davison
13710874ce
Changed "statx" to "stat_x" to try to work around a build problem on AIX.
2007-09-23 22:19:55 +00:00
Wayne Davison
19531e1f74
Got rid of some unneeded externs.
2007-09-23 02:03:20 +00:00
Wayne Davison
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +00:00
Wayne Davison
e434f0ebfe
Use the latest F_DIR_*() defines (whose names were tweaked).
2007-07-08 20:53:35 +00:00
Wayne Davison
4fd842f98d
Switching to GPL 3.
2007-07-07 05:33:14 +00:00
Wayne Davison
030820d5dc
- Unified the formerly separate user & group name-lists into a single
...
name-list. On POSIX systems, this list will be sorted with the user
names first, so the code will work essentially the same way it did
before for the currently supported OSes. However, the code will now
more easily support non-POSIX ACL setups such as (hopefully) the one
used in OS X.
- Increased the (potentially) available access-bit storage for name
elements from 3 to 31 bits. For non-name elements, the access bits
now have the potential to store 7 bits instead of 3. (All the
current POSIX implementations still error-check their values at 3
bits, but this will allow adding non-POSIX ACL setups more easily.)
- The protocol that transmits the ACL information was changed to send
names in a single list, and to use {read,write}_varint() functions
instead of {read,write}_byte(). This supports sending access-bit
values up to 32-bits (minus any bits reserved for xmit flags).
- The construction of the internal access-bit value was moved into the
lib/sysacls.c code, so that it could be handled in an appropriate
manner for each OS.
(Aside: the code still does not support transmitting incompatible ACL
information between systems, but I envision improving --fake-super to
store the ACL information that is received as xattr information, and
this would allow a system that supports extended attributes to backup
a source system that had an incompatible ACL method.)
2007-05-21 01:04:40 +00:00
Wayne Davison
33233b4900
- Fixed a bug in the match_racl_ids() function's iteration.
...
- Fixed a bug with preserving a group ID in an ACL when running as
a non-super user that the user is not a member of.
2007-05-20 07:10:34 +00:00
Wayne Davison
f31514adb7
Changed the *_abbbrevint() functions to *_varint().
2007-04-20 02:17:58 +00:00
Wayne Davison
a217c45359
Got rid of ACL's uid/gid iterators in favor of a single function
...
that converts the uids & gids in a loop.
2007-04-18 02:33:02 +00:00
Wayne Davison
1c53e5171c
Tweaked an error message and a comment.
2007-04-07 17:22:09 +00:00
Wayne Davison
d4a013edb7
We now compile on systems where ENOTSUP is not defined.
2007-03-11 07:21:07 +00:00
Wayne Davison
e5abce8e0d
Silence a compiler warning about a printf() %d mismatch.
2007-03-11 06:50:48 +00:00
Wayne Davison
1c3344a105
The ACL support has arrived! This version has a brand new protocol
...
that makes it incompatible with all prior versions. A patch will be
provided to allow talking with older (patched) rsync versions.
2007-03-11 00:13:34 +00:00