Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e8c64ff
)
Use the --super option for the non-fake test, just in case a system
author
Wayne Davison
<wayned@samba.org>
Sat, 28 Apr 2007 23:47:16 +0000
(23:47 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 28 Apr 2007 23:47:16 +0000
(23:47 +0000)
can chown without appearing to be root (uid 0).
testsuite/chown.test
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/chown.test
b/testsuite/chown.test
index
609ba92
..
2898890
100644
(file)
--- a/
testsuite/chown.test
+++ b/
testsuite/chown.test
@@
-36,6
+36,7
@@
case $0 in
esac
;;
*)
esac
;;
*)
+ RSYNC="$RSYNC --super"
case `id -u` in
'') ;; # If "id" failed, try to continue...
0) ;;
case `id -u` in
'') ;; # If "id" failed, try to continue...
0) ;;