cwrsync invalid uid nobody 解决方法
2016-03-20 21:20
1111 查看
使用rsync/cwrsync工具进行档案同步的时候出现了下面的错误:
C:Program FilescwRsyncbin>rsync.exe -av rsync://192.168.0.211:52326/test /cygdrive/e/www.01314.cn/rsync @ERROR: invalid uid nobody rsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]
解决办法:在rsyncd.conf文件中添加下面两行即可解决问题
uid = 0
gid = 0
完整rsyncd.conf文件
uid = 0 gid = 0 use chroot = false strict modes = false hosts allow = * log file = rsyncd.log pid file = rsyncd.pid port = 52326 max connections = 4 # Module definitions # Remember cygwin naming conventions : c:work becomes /cygwin/c/work # [test] path = /cygdrive/e/rsync/res read only = yes transfer logging = yes lock file = rsyncd.lock secrets file = /etc/rsyncd.pass
cwRsync客户端密码文件的权限配置和invalid uid nobody疑难
cwRsync客户端密码文件的权限配置处置办法。
windows 在 cygwin 下运用 chmod
创立文件后,把权限改为600
chmod 600 /rsyncd.passwd
invalid uid nobody处置办法。
修正配置文件:rsyncd.conf
在文件开头添加
uid = 0
gid = 0
相关文章推荐
- PostgreSQL ERROR: invalid escape string 解决办法
- 将Reporting services的RDL文件拷贝到另外一台机器时报Data at the root level is invalid的解决方法
- Jquery跨域获得Json时invalid label错误的解决办法
- mysql提示[Warning] Invalid (old?) table or database name问题的解决方法
- c++ std::invalid_argument应用
- PDO版本问题 Invalid parameter number: no parameters were bound
- apache启动报 shmget() failed: Invalid argument的解决方法
- Python ValueError: invalid literal for int() with base 10 实用解决方法
- python学习笔记之调用eval函数出现invalid syntax错误问题
- Android中的UID和PID意义,及查看方式
- ORA-16009: invalid redo transport destination
- A Better Way to Manage the Rails Secret Token
- 服务器端返回的JSON字符串 怎样在 JS中转换成可访问的 JSON对象
- linux中nobody账号的相关解释
- setuid() 和 setgid()函数浅析
- error: invalid storage class for function
- 【个人测试公众号】微信公众号接入过程问题笔记
- The FlexSession is invalid问题
- The FlexSession is invalid问题
- UID详解