cwRsync客户端密码文件的权限设置

coolray123 2008-06-18 02:17:49
cwRsync这个软件在服务端已配置好,客户端运行时总是提示:password file must not be other-accessible ,要手工输入密码才行,应该是密码文件权限的问题,请问应该怎么设置呢? 谢谢.
...全文
2110 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
me20512 2012-06-21
  • 打赏
  • 举报
回复
这是什么意思,我在本地同地到服务器的时候报的错,服务器同步到本地是没问题的
me20512 2012-06-21
  • 打赏
  • 举报
回复
sending incremental file list
rsync: writefd_unbuffered failed to write 223 bytes to socket [sender]: Software
caused connection abort (113)
rsync: read error: Software caused connection abort (113)
rsync error: error in rsync protocol data stream (code 12) at io.c(769) [sender=
3.0.7]
jacksuperlan 2012-05-31
  • 打赏
  • 举报
回复 1
[Quote=引用 10 楼 的回复:]

D:\ICW\bin\rsync -vaxP --bwlimit=10000 root@192.168.1.66::bk/body/ /cygdrive/F/body/ < D:\rsync.pas

不要用--password-file 改用 < 就行了。
[/Quote]

强!!!一下子把我的问题解决了. 谢谢
ftxl01 2011-10-10
  • 打赏
  • 举报
回复
正好我也遇到了同样的问题,一下给解决了
huating168 2011-09-30
  • 打赏
  • 举报
回复
很需要这个东西呀~~
gu1dai 2011-03-04
  • 打赏
  • 举报
回复 1
D:\ICW\bin\rsync -vaxP --bwlimit=10000 root@192.168.1.66::bk/body/ /cygdrive/F/body/ < D:\rsync.pas

不要用--password-file 改用 < 就行了。

sd9phoenix 2008-06-18
  • 打赏
  • 举报
回复
那是当然,这是模拟UNIX下的Rsync的作品,开源系统的产品就是比WINDOWS平台的好用
coolray123 2008-06-18
  • 打赏
  • 举报
回复
是的啊,就是权限问题,密码文件要设置为不允许所有人访问,除了要执行那个命令,还要去除其它用户的访问权限.
这个软件真不错,同机房机器备份效率很高,而且不占资源,比FTP软件强多啦...
谢谢啦..
sd9phoenix 2008-06-18
  • 打赏
  • 举报
回复
这么有效率?是权限问题吗?
sd9phoenix 2008-06-18
  • 打赏
  • 举报
回复
查查cwRsync使用手册吧~


以下转自----抓虾网

服务器端:
安装目录: E:\cwRsyncServer
端口: 52326
ip: 219.152.120.82
一:修改cwRsyncServer配置文件 E:\cwRsyncServer\rsyncd.conf
#########
port = 52326
use chroot = false
strict modes = false
read only = yes
list = no
hosts allow = *
max connections = 10
secrets file = rsyncd.secrets #指定用户登录的密码文件
motd file = rsyncd.motd #连接上rsync server时显示的欢迎信息
log file = rsyncd.log
pid file = rsyncd.pid
transfer logging = yes

# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
#
[test]
path = /cygdrive/c/work
read only = false
transfer logging = yes
[t_task]
path = /cygdrive/c/work
read only = false
transfer logging = yes
#################################
二:在E:\cwRsyncServer目录下新建密码文件 rsyncd.secrets 内容为用户名:密码
如: tly:fjs249slke

客户端:
安装目录: E:\cwRsync
三:在E:\cwRsyncServer目录下新建密码文件 rsyncd.secrets 内容为密码
如:fjs249slke
四:开始–>运行–>cmd 输入以下命令即可同步服务器端t_task模块到客户端e:/y目录下。
E:\cwRsync\bin\rsync.exe -vazu –exclude article/ –progress –delete –

password-file=E:\cwRsync\rsyncd.secrets

rsync://odinxu@219.152.120.82:52326/t_task /cygdrive/e/y


coolray123 2008-06-18
  • 打赏
  • 举报
回复
可以了,谢谢.sd9phoenix
--------------------------------------------------------------------------------

coolray123 2008-06-18
  • 打赏
  • 举报
回复
在cwRsync目录下有一个bin目录,里面有chmod命令,在cmd下边运行了这个命令,执行了chmod 600 /rsyncd.passwd ,也加上了相应权限,还是提示password file must not be other-accessible ,是不是还需要其它设置啊?
sd9phoenix 2008-06-18
  • 打赏
  • 举报
回复
windows 在 cygwin 下使用 chmod
coolray123 2008-06-18
  • 打赏
  • 举报
回复
这个是windows下边的啊,好像没这个命令吧?
sd9phoenix 2008-06-18
  • 打赏
  • 举报
回复
创建文件后,把权限改为600
chmod 600 /rsyncd.passwd

6,210

社区成员

发帖
与我相关
我的任务
社区描述
windows网络管理与配置
社区管理员
  • 网络管理与配置社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧