On 2024-11-29 06:17, David C. Rankin wrote:
On 11/27/24 6:22 AM, Carlos E. R. wrote:
Variable "RUN_UPDATEDB_AS" is probably defined in file /etc/sysconfig/ locate.
RUN_UPDATEDB_AS="root" #RUN_UPDATEDB_AS="nobody"
Thank you Carlos,
I had don't a quick ls /etc/sysconfig/plocate and got nothing.... Now it will work. I specifically like the logic of the comment above. I'd rather set $HOME as 0700 than worry about some potential directory info be gleaned from having run find as root....
I think that with the modern variants of locate you can have the database populated by root, but when you search for a file you will only see those files you have permissions for. I mean, a file can be in the database and when you call ?locate it says not found or no permission because it belongs to another user and the home is not group read. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)