* Installation of Ubuntu kubuntu-18.04-desktop-amd64 in VirtualBox * Creation of user "toto" passwd is "clown". The name of virtual machine is toto-VirtualBox * Installation of rsync 3.1.2-2.1ubuntu1.4 and encfs 1.9.2-2build2 * Creation of two directories (by toto) "Backup" and "Directory_to_save" inside of /home/toto and creation of two directories "Crypt" and ".Crypt" inside of the directory "Directory_to_save" $ mkdir -p /home/toto/Backup /home/toto/Directory_to_save/Crypt /home/toto/Directory_to_save/.Crypt * Filling the directory "Directory_to_save" with diverse files and directories $ cd /home/toto/Directory_to_save/ ; mkdir Countries Downloads Felines Fishes Images Models Mountains Musics Public Videos $ cd /home/toto/Directory_to_save/Countries/ ; touch China.txt France.txt Germany.txt Japan.txt $ cd /home/toto/Directory_to_save/Felines ; touch Cats.txt Lions.txt Tigers.txt $ cd /home/toto/Directory_to_save/Fishes ; touch Sharks.txt Trouts.txt $ cd /home/toto/Directory_to_save/Mountains ; touch Alps.txt Atlas.txt Himalayas.txt Or with one ligne only mkdir -p /home/toto/Backup /home/toto/Directory_to_save/Crypt /home/toto/Directory_to_save/.Crypt ; cd /home/toto/Directory_to_save/ ; mkdir Countries Downloads Felines Fishes Images Models Mountains Musics Public Videos ; cd /home/toto/Directory_to_save/Countries/ ; touch China.txt France.txt Germany.txt Japan.txt ; cd /home/toto/Directory_to_save/Felines ; touch Cats.txt Lions.txt Tigers.txt ; cd /home/toto/Directory_to_save/Fishes ; touch Sharks.txt Trouts.txt ; cd /home/toto/Directory_to_save/Mountains ; touch Alps.txt Atlas.txt Himalayas.txt * Test of the command rsync by root (or sudo) 1) With rsyc 3.1.3-8 # rsync -a --progress --delete-during /home/toto/Directory_to_save/ /home/toto/Backup/ sending incremental file list .Crypt/ Countries/ Countries/China.txt 0 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=11/25) Countries/France.txt 0 100% 0.00kB/s 0:00:00 (xfr#2, to-chk=10/25) Countries/Germany.txt 0 100% 0.00kB/s 0:00:00 (xfr#3, to-chk=9/25) Countries/Japan.txt 0 100% 0.00kB/s 0:00:00 (xfr#4, to-chk=8/25) etc, etc, etc. OK. There is no "IO error encountered -- skipping file deletion" message. 2) With rsync 3.1.2-2.1 # rsync -a --progress --delete-during /home/toto/Directory_to_save/ /home/toto/Backup/ sending incremental file list .Crypt/ Countries/ Countries/China.txt 0 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=11/25) Countries/France.txt 0 100% 0.00kB/s 0:00:00 (xfr#2, to-chk=10/25) Countries/Germany.txt 0 100% 0.00kB/s 0:00:00 (xfr#3, to-chk=9/25) Countries/Japan.txt 0 100% 0.00kB/s 0:00:00 (xfr#4, to-chk=8/25) etc, etc, etc. OK. There is no "IO error encountered -- skipping file deletion" message. * Mount of the directory ".Crypt" on "Crypt" (empty) by toto encfs /home/toto/Directory_to_save/.Crypt/ /home/toto/Directory_to_save/Crypt/ #(give a passwd) * Filling the directory "Crypt" with diverse files and directories $ cd /home/toto/Directory_to_save/Crypt/ ; mkdir Drinks Fruits Vegetables $ cd /home/toto/Directory_to_save/Crypt/Drinks ; touch Coffee.txt Tea.txt Water.txt Wine.txt $ cd /home/toto/Directory_to_save/Crypt/Fruits ; touch Grapes.txt Raisins.txt Strawberries.txt $ cd /home/toto/Directory_to_save/Crypt/Vegetables ; touch Eggplant.txt Tomatos.txt Or with one ligne only cd /home/toto/Directory_to_save/Crypt/ ; mkdir Drinks Fruits Vegetables ; cd /home/toto/Directory_to_save/Crypt/Drinks ; touch Coffee.txt Tea.txt Water.txt Wine.txt ; cd /home/toto/Directory_to_save/Crypt/Fruits ; touch Grapes.txt Raisins.txt Strawberries.txt ; cd /home/toto/Directory_to_save/Crypt/Vegetables ; touch Eggplant.txt Tomatos.txt * Second test of the command rsync by root (or sudo) 1) With rsyc 3.1.3-8 # rsync -a --progress --delete-during /home/toto/Directory_to_save/ /home/toto/Backup/ sending incremental file list rsync: readlink_stat("/home/toto/Directory_to_save/Crypt") failed: Permission denied (13) IO error encountered -- skipping file deletion .Crypt/ .Crypt/.encfs6.xml 1,297 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=24/37) .Crypt/8SZgl8DegOq,0kTdGJ4BYUFm/ Now there is a problem... 2) With rsync 3.1.2-2.1 # rsync -a --progress --delete-during /home/toto/Directory_to_save/ /home/toto/Backup/ sending incremental file list rsync: readlink_stat("/home/toto/Directory_to_save/Crypt") failed: Permission denied (13) IO error encountered -- skipping file deletion Here there is a problem too... :-(