rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179)

简介: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179)

报错信息:

rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179) [sender=3.1.2]

报错原因:当前用户的权限不够

解决办法:

chown username [文件夹]# 示例:chown -R saodai /usr
chmod 777 [文件夹]#实例:chmod 777 /usr


注意事项

  • 这里要切换成root账号去改,不然权限不够
  • 注意要把所有的虚拟机下的对应文件权限都要改了
  • 根据报错信息去改对应的目录,比如上面我是/usr/local/bin,那就改所有虚拟机的/usr权限
目录
打赏
0
0
0
0
208
分享
相关文章
ADD failed: file not found in build context or excluded by .dockerignore: stat irap_rule_center: fil
ADD failed: file not found in build context or excluded by .dockerignore: stat irap_rule_center: fil
Android Studio 解决:error adding symbols: File in wrong format clang++.exe: error: linker command...
错误日志: Error:FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:externalNativeBuildDebug'.
6620 0
【前端异常】Module build failed: Error: ENOENT: no such file or directory, scandir ‘G:\OPWeb\public\node_m
【前端异常】Module build failed: Error: ENOENT: no such file or directory, scandir ‘G:\OPWeb\public\node_m
349 0
|
10月前
|
syntax error: unexpected end of file
syntax error: unexpected end of file
43 0
error C2449: found ‘{‘ at file scope (missing function header?)和error C2059: syntax error : ‘}‘
error C2449: found ‘{‘ at file scope (missing function header?)和error C2059: syntax error : ‘}‘
152 0
DevTools failed to load source map: Could not load content for…System error: net::ERR_FILE_NOT_FOUN
DevTools failed to load source map: Could not load content for…System error: net::ERR_FILE_NOT_FOUN
Error:error C2601: ‘b‘ : local function definitions are illegal error C2063: ‘b‘ : not a function
Error:error C2601: ‘b‘ : local function definitions are illegal error C2063: ‘b‘ : not a function
210 0
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
249 0
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
checking build system type... ./config.guess: unable to guess system type/you must specify one
checking build system type... ./config.guess: unable to guess system type/you must specify one
180 0
configure: line syntax error near unexpected token `win32-dll'
configure: line syntax error near unexpected token `win32-dll'
370 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等