This does not return all “config files and install paths” as it only ever considers files that came in the package, not files created by the package (such as /etc/samba.smb.conf, which is created during installation), so doesn’t actually solve the problem.
That limitation should’ve been made clear in the advice itself so as not to send users that don’t know better down dead ends, though the subsequent discussion between this and the previous user is a great illustration of how the way some give Linux “advice” just ends up frustrating those seeking advice.
(It even eventually frustrated me because over the years I’ve had to teach plenty of junior developers to not give advice like that, only they’re seldom so bad that they insist they actually know what the other person wants even in the face of a user providing proof that they do not)
This does not return all “config files and install paths” as it only ever considers files that came in the package, not files created by the package (such as /etc/samba.smb.conf, which is created during installation), so doesn’t actually solve the problem.
That limitation should’ve been made clear in the advice itself so as not to send users that don’t know better down dead ends, though the subsequent discussion between this and the previous user is a great illustration of how the way some give Linux “advice” just ends up frustrating those seeking advice.
(It even eventually frustrated me because over the years I’ve had to teach plenty of junior developers to not give advice like that, only they’re seldom so bad that they insist they actually know what the other person wants even in the face of a user providing proof that they do not)