On Fri, 16 Mar 2012 16:23:03 +0800
郑文辉(Techlive Zheng) <techlivezh...@gmail.com> wrote:

> I ran the script below to see the files which owned by no package.
> 
>     export LC_ALL=C
>     for dir in bin etc lib usr var sbin;do
>             find /$dir -type f -exec pacman -Qo {} \; 2>$dir 1>/dev/null
>     done
> 
> I got the following.
> 
>     error: No package owns /etc/crontab
>     error: No package owns /etc/localtime
>     error: No package owns /etc/ssl/certs/ca-certificates.crt
> 
> Are these files necessary now, could I delete them?

I don't think checking ownership of files in /etc/ makes much sense, as these
files are supposed to be added by user/daemons. For example, a lot of files
under /etc/cups are not owned by cups...

-- 
Leonid Isaev
GnuPG key ID: 164B5A6D
Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

Attachment: signature.asc
Description: PGP signature

Reply via email to