-
Notifications
You must be signed in to change notification settings - Fork 287
Description
I observe on one PC running gentoo Linux the same issue as #550 with encfs 1.9.5.
If the decoded file is accessed directly it acts as a normal file. It is correctly encoded, but when one asks to list all files in the decoded directory, it is not visible.
`#Create encfs directories
encfs /mnt/hd/.encfs /mnt/hd/encfs
The directory "/mnt/hd/.encfs/" does not exist. Should it be created? (y,N) y
The directory "/mnt/hd/encfs/" does not exist. Should it be created? (y,N) y
Creating new encrypted volume.
Please choose from one of the following options:
enter "x" for expert configuration mode,
enter "p" for pre-configured paranoia mode,
anything else, or an empty line will select standard mode.
?>
Standard configuration selected.
Configuration finished. The filesystem to be created has
the following properties:
Filesystem cipher: "ssl/aes", version 3:0:2
Filename encoding: "nameio/block", version 4:0:2
Key Size: 192 bits
Block Size: 1024 bytes
Each file contains 8 byte header with unique IV data.
Filenames encoded using IV chaining mode.
File holes passed through to ciphertext.
Now you will need to enter a password for your filesystem.
You will need to remember this password, as there is absolutely
no recovery mechanism. However, the password can be changed
later using encfsctl.
New Encfs Password:
Verify Encfs Password:
#Create a file
me@Eos /mnt/hd/ $ echo 'test' > encfs/test
#Check that the files exist: where is the decoded file ? encoded file is visible.
me@Eos /mnt/hd/ $ ls -la encfs .encfs
.encfs:
total 16
drwx------ 2 jan jan 4096 Feb 23 21:51 .
drwxrwxrwx 5 root users 4096 Feb 23 21:51 ..
-rw-r--r-- 1 jan jan 13 Feb 23 21:51 Bri8qBzqPkO-1P2LyRFZemhk
-rw-r--r-- 1 jan jan 1296 Feb 23 21:51 .encfs6.xml
encfs:
total 8
drwx------ 2 jan jan 4096 Feb 23 21:51 .
drwxrwxrwx 5 root users 4096 Feb 23 21:51 ..
#get the contents of the file that is not visible
me@Eos /mnt/hd/ $ cat encfs/test
test
#List the file directly by filename
me@Eos /mnt/hd/4 $ls encfs/test
encfs/test
#list all files in the directory. Where is the file ?
me@Eos /mnt/hd/ $ ls encfs
#request stat data for the file. All seems normal
me@Eos /mnt/hd/ $ stat encfs/test
File: encfs/test
Size: 5 Blocks: 8 IO Block: 4096 regular file
Device: 23h/35d Inode: 131075 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ jan) Gid: ( 1000/ jan)
Access: 2021-02-23 21:51:58.736733389 +0100
Modify: 2021-02-23 21:51:58.737733387 +0100
Change: 2021-02-23 21:51:58.737733387 +0100
Birth: -`