【发布时间】:2013-07-03 23:25:33
【问题描述】:
使用 AutoFS 和 CIFS 作为 /mnt/backup-drive 将 Iomega NAS 驱动器中的共享安装到运行 CentOS 6.4 的主服务器上的本地目录。
当我运行以下命令时:
rsync -ruvz --no-o --no-g --delete "/root" "/mnt/backup-drive"
我收到以下输出:
...
rsync: recv_generator: mkdir "/mnt/backup-drive/root/.gnupg" failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
...
rsync: mkstemp "/mnt/backup-drive/root/..bash_profile.RBlhZj" failed: Permission denied (13)
...
etc 和文件夹“/mnt/backup-drive/root”保持完全空。但是,当我使用相同的命令备份其他目录时,一切正常且顺利。
希望这是有道理的,欢迎提供帮助。
【问题讨论】:
标签: linux centos rsync nas cifs