Hi David,

Tks for your advice.

> At this point you should browse the
> /mnt/lfs/tools/info and man.  You 
> should be able to deduce which package(s) is
> installed incorrectly as it 
> will be shown 'lfs root' in owner group.  You should
> really check 
> /mnt/lfs/tools/bin and lib too.  Maybe you can fix
> it without a restart, 

[EMAIL PROTECTED] ~]# ls -al /mnt/lfs/tools/info
total 424
drwxr-xr-x   2 lfs root   4096 Jul 23 10:18 .
drwxr-xr-x  13 lfs root   4096 Jul 22 15:36 ..
-rw-r--r--   1 lfs root 399981 Jul 23 10:18 bash.info
-rw-r--r--   1 lfs root    613 Jul 23 10:18 dir

Owner is lfs.  The 2 fils above are read only file. 
Shall I make change as
# chmod -R 777 /mnt/lfs/tools/info

[EMAIL PROTECTED] ~]# ls -al /mnt/lfs/tools/man
total 24
drwxr-xr-x   3 lfs root 4096 Jul 22 15:36 .
drwxr-xr-x  13 lfs root 4096 Jul 22 15:36 ..
drwxr-xr-x   2 lfs root 4096 Jul 23 10:18 man1

[EMAIL PROTECTED] ~]# ls -al /mnt/lfs/tools/man/man1/
total 272
drwxr-xr-x  2 lfs root   4096 Jul 23 10:18 .
drwxr-xr-x  3 lfs root   4096 Jul 22 15:36 ..
-rw-r--r--  1 lfs root 243808 Jul 23 10:18 bash.1
-rw-r--r--  1 lfs root   1343 Jul 23 10:18 bashbug.1

Owner is lfs.  The 2 fils above are read only file. 
Shall I make change as
# chmod -R 777 /mnt/lfs/tools/man/man1/

1)
[EMAIL PROTECTED] ~]# ls -al /mnt/lfs/tools/bin
all files are owned by 'lfs'

files having symbolic link are read, write and
executable, e.g.
lrwxrwxrwx   1 lfs lfs        4 Jul 21 17:55 sh ->
bash

other files for 'user' are read and executable only,
e.g.
-rwxr-xr-x   1 lfs lfs    68824 Jul 21 18:37 addr2line
Shall I make any change ?

I found following file
-rwxr-xr-x   1 lfs lfs    23756 Jul 21 18:37 [
what is "[" ?

2)
[EMAIL PROTECTED] ~]# ls -al /mnt/lfs/tools/lib
all files are owned by 'lfs'

files having symbolic link are read, write and
executable, e.g.
lrwxrwxrwx   1 lfs lfs       11 Jul 20 21:23
ld-linux.so.2 -> ld-2.3.4.so

some of the files are read and write only, not
executable, e.g.
-rw-r--r--   1 lfs lfs     1460 Jul 21 18:36 gcrt1.o

some of the files for 'user' are read and executable
only, e.g.
-rwxr-xr-x   1 lfs lfs   100545 Jul 21 18:36
ld-2.3.4.so

all subdirectories under them are read, write and
executable, e.g.
drwxr-xr-x   2 lfs lfs     4096 Jul 20 21:25 locale

I drilled to further subdirectories and files under
them.  All subdirectories and files are owned by 'lfs'
but the files for 'user' are ready only, e.g.
-rw-r--r--  1 lfs lfs 108216 Jul 20 16:55 vg_skin.h
 
Shall I make change to all of them as;
chmom -R 777 /mnt/lfs/tools/lib


> but you will need to redo any packages you find, and
> *very* probably all 
> packages after the first error.

Noted with thanks


> >lfs:/mnt/lfs/sources/perl-5.8.6$ cp -R lib/*
> >/tools/lib/perl5/5.8.6
> >cp: cannot create regular file
> >`/tools/lib/perl5/5.8.6/AnyDBM_File.pm': Permission
> >
> Some files are installed read only. You need to:
> rm -rf /tools/lib/perl5
> then you can with no problems:
> make install

[EMAIL PROTECTED] ~]# rm -rf /mnt/lfs/tools/lib/perl5

Whether it will be regenerated automatically later OR
I have to reinstall "Perl"

TIA

B.R.
Stephen

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to