mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-23 06:14:18 -04:00
Doc:
#defiine lchown chown could be bad on systems which have no lchown and where chown follows symbollic links. On such systems it might be better not to try to chown symlinks at all.
This commit is contained in:
1 parent
34758d5c15
commit
1eca49c6ed
1 file changed
+3
@@ -461,6 +461,9 @@ extern int errno;
|
||||
#define SUPPORT_LINKS HAVE_READLINK
|
||||
#define SUPPORT_HARD_LINKS HAVE_LINK
|
||||
|
||||
/* This could be bad on systems which have no lchown and where chown
|
||||
* follows symbollic links. On such systems it might be better not to
|
||||
* try to chown symlinks at all. */
|
||||
#ifndef HAVE_LCHOWN
|
||||
#define lchown chown
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user