* 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... :-(
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/1955347
Title:
rsync works bad with encfs now
Status in rsync package in Ubuntu:
Incomplete
Bug description:
Hello,
I think rsync works bad with encfs now.
When root uses it, rsync cannot read a directory encrypted with encfs
by a user. More precisely, it cannot read the mounted directory, the
virtual one where the user can read the datas.
Until now there was only a warning like this
"rsync: readlink_stat("/home/claude/Documents_chiffres") failed:
Permission denied (13)"
and the software went on working (only ignoring the content of the mounted
directory and of course without saving this content)
But recently there is this more:
"IO error encountered -- skipping file deletion"
and because of this "skipping file deletion", the software can't work
normally. The destination gets bigger more and more because the deleted files
in the source are not deleted in the destination.
Thanks for reading me.
rsync 3.1.3-8ubuntu0.1
Description: Ubuntu 20.04.3 LTS
Release: 20.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1955347/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp