git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
29c7724
)
Fix faulty merge.
author
Martin Pool
<mbp@samba.org>
Tue, 26 Mar 2002 11:49:56 +0000
(11:49 +0000)
committer
Martin Pool
<mbp@samba.org>
Tue, 26 Mar 2002 11:49:56 +0000
(11:49 +0000)
authenticate.c
patch
|
blob
|
history
diff --git
a/authenticate.c
b/authenticate.c
index ebf23d6ce97cfdfa679e3b6e3c43900b426a511a..20ff254d5d8c46b4b3de22cc80289080647ab789 100644
(file)
--- a/
authenticate.c
+++ b/
authenticate.c
@@
-180,7
+180,7
@@
static char *getpassf(char *filename)
rsync as a NT service. Besides, CYGWIN permissions won't
give us any added security -- the security should be
handled with NTFS ACL's. */
rsync as a NT service. Besides, CYGWIN permissions won't
give us any added security -- the security should be
handled with NTFS ACL's. */
-
}
else if ((st.st_mode & 06) != 0) {
+ else if ((st.st_mode & 06) != 0) {
rprintf(FERROR,"password file must not be other-accessible\n");
ok = 0;
} else if (am_root && (st.st_uid != 0)) {
rprintf(FERROR,"password file must not be other-accessible\n");
ok = 0;
} else if (am_root && (st.st_uid != 0)) {