rsync:recv_generator:mkdir(バックアップ内)が失敗しました:アクセスが拒否されました(13)|「。」に時間を設定できませんでした



Rsync Recv_generator



rsyncの最近の調査では、構成が完了した後、エラーが発生しました。

rsync: failed to set times on '/.' (in xxx.xxx.com): Operation not permitted (1) rsync: recv_generator: mkdir '/assets' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/commands' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/config' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/controllers' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/helper' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/mail' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/models' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/modules' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** ççççççççrsync: recv_generator: mkdir '/runtime' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/swoole' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/vagrant' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/vendor' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/views' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/web' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: recv_generator: mkdir '/widgets' (in xxx.xxx.com) failed: Permission denied (13) *** Skipping any contents from this failed directory *** rsync: mkstemp '/.env.dkoOhC' (in xxx.xxx.com) failed: Permission denied (13) rsync: mkstemp '/.release.J6y5H3' (in xxx.xxx.com) failed: Permission denied (13) rsync: mkstemp '/.LICENSE.md.zBQm8u' (in xxx.xxx.com) failed: Permission denied (13) rsync: mkstemp '/.README.md.7EsEyW' (in xxx.xxx.com) failed: Permission denied (13) rsync: mkstemp '/.Vagrantfile.7hYn8n' (in xxx.xxx.com) failed: Permission denied (13) rsync: mkstemp '/.codeception.yml.5HwjIP' (in xxx.xxx.com) failed: Permission denied (13) rsync: mkstemp '/.composer.FDSxih' (in xxx.xxx.com) failed: Permission denied (13) rsync: mkstemp '/.composer.json.blJDDP' (in xxx.xxx.com) failed: Permission denied (13) rsync: mkstemp '/.composer.lock.Taxv1n' (in xxx.xxx.com) failed: Permission denied (13) çrsync: mkstemp '/.docker-compose.yml.9TcY0W' (in xxx.xxx.com) failed: Permission denied (13) rsync: mkstemp '/.requirements.php.RXer0v' (in xxx.xxx.com) failed: Permission denied (13) rsync: mkstemp '/.yii.L1AP04' (in xxx.xxx.com) failed: Permission denied (13) rsync: mkstemp '/.yii.bat.VF4d1D' (in xxx.xxx.com) failed: Permission denied (13) çrsync error: some files could not be transferred (code 23) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52.200.1/rsync/main.c(996) [sender=2.6.9]

多くの人が有効であり、権限についても疑問を呈し始めたと言いますが、解決策はストロークを成功させることができず、最後に構成ファイルを変更します。



pid file = /var/run/rsync/rsyncd.pid lock file = /var/run/rsync/rsyncd.lock log file = /var/log/rsync/rsyncd.log [www.wuliankaka.com] path = /data/www/www.wuliankaka.com/ comment = www.wuliankaka.com uid = root gid = root read only = false auth users = rsync secrets file = /etc/rsyncd.passwd transfer logging = yes

説明:

1、最初にすべてのコメントを削除します。 #xx漢



2、それはユーザーアカウントuidであり、gidはユーザーグループ名である可能性があります。この場所に記入するのはルートのようなもので、これはアカウントを参照していません。

3、falseにのみ読み取り