Re: A Couple of Questions about files under etc which owned by no package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 16 Mar 2012 16:23:03 +0800
郑文辉(Techlive Zheng) <techlivezheng@xxxxxxxxx> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux