Hi, I want to index the contents of a ecryptfs-ed directory tree with mlocate storing the resulting db in that directory tree.
I was using this command to create that db file (as the user (me), who is permitted to use/read/write the directory tree): (being at the root of that directory tree) updatedb -l 0 -o var/lib/mlocate/mlocate.db -U . , which was taken from the EXAMPLES section of the according manpage. The file was created (in a suspiscous short time, though). Reading its contents with locate -d var/lib/mlocate/mlocate.db whattofind results in locate: can not stat () `var/lib/mlocate/mlocate.db': Permission denied the file shows this permission: -rw-r--r-- 1 me users 1319628 2019-12-02 04:25 var/lib/mlocate/mlocate.db . Why can I create a file, which afterwards I am not allowed to read? Cheers! mcc

