Files owner/group

Jeffrey B. Ferland autocracy at linuxfreemail.com
Tue Dec 5 14:31:11 PST 2000


ced wrote:
> Hi.
> 
> I looked in the archives and didn't find a subject
> about the "problem" I am running into.
> 
> Well at very first begining of the whole process,
> I unpack the archives in the $LFS/usr/src dir,
> but the files have some odd (to me) owner/group, as:
> 
> [...]
> drwxr-xr-x   9 ced      users        4096 Feb 29  2000 man-1.5h1
> drwxr-xr-x  10 ced      users        4096 Aug 13 04:49 man-pages-1.31
> drwxr-xr-x  10 100      wheel        4096 Nov  8  1996 mawk-1.3.3
> drwxr-xr-x  12 16331    999          4096 Sep 23 06:45 modutils-2.3.17
> drwxr-xr-x  16 8037     users        4096 Jul  9 03:27 ncurses-5.1
> drwxr-xr-x   8 ced      1000         4096 Jun 11 21:11 net-tools-1.57
> drwx------   5 100      users        4096 Jul 31 03:10 netkit-base-0.17
> drwxr-xr-x   4 31184    floppy       4096 Aug 30  1999 patch-2.5.4
> drwxr-xr-x  28 504      1001         4096 Mar 23  2000 perl-5.6.0
> drwxr-xr-x   2 101      40           4096 May 16  1999 procinfo-17
> [...]
> 
> So I am wondering if I have to do a chown root.root on all thoses
> dir and on the files into the dirs ?

This is because the wonderful people who make these programs love to package
them with their own user IDs - be it because they don't have root access
(unlikely) or they are too lazy to do it as root. Do a 

chown root.root && chmod -R +ax *
(Note: this depends on wether you want other users to be able to read the
contents of these directories. There's no harm in it anyway, so I say go ahead
and do it).
ONLY - and I stress - ONLY do this in your src/ directory.

-Jeff
SIG: HUP

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list