perl5.22.1 permission denied
after installing perl chapter5ver7.9 last copy comand give me error permission denied
Code:
cp -Rv lib/* /tools/lib/perl5/5.22.1 i do it again with same error. Permisions are the same from start. i realy dont know this, help is prischiated |
Make sure the sources and tools are LFS and not root owned. All of Ch 5 is done as LFS Never use "sudo or root" for running any commands, if root or sudo is used in this ch thats the problem.
|
yes its owned as lfs, but this lib/* need to be copyed where is this lib maybe he try copyng from root lib.
|
ok ls -l $LFS/tools
|
re
Code:
drwxr-xr-x 2 lfs lfs 12288 Sep 2 08:03 bin Sorry for my knowledge im trayng to learn, but without prper school this is like you finding igle at bootom of ocean |
Thats ok, now ls -l $LFS and
Code:
echo $PATH Code:
cp -Rv lib/* /tools/lib/perl5/5.22.1 |
re
Code:
drwx------ 2 root root 16384 Sep 1 20:45 lost+found PATH is /tools/bin:/bin:/usr/bin Sources are now i see diferrent. Code:
total 344356 |
so how have you been untarring?
and you missed this page or part of http://www.linuxfromscratch.org/lfs/...ddinguser.html |
is there a dir /tools/lib/perl5?
ls -l /tools/lib/perl5 |
re
tar xf for untar
i checked that but when i run as root or lfs give me same output chown -v lfs $LFS/sources Code:
lfs@debian:/mnt/lfs/sources/perl-5.22.1$ chown -v lfs $LFS/sources i download software as root the steps in book is that way, after that i created user and group maybe thats wrong. but all other copy worked so i dont know |
ok check more of previous post i added
"getting confused" |
re
yes sorry i didnt see.
yes is there Code:
lfs@debian:/mnt/lfs/sources/perl-5.22.1$ ls -l /tools/lib/perl5 |
ok whats in /tools/lib/perl5
ls -l /tools/lib/perl5 |
re
inside perl5 is
Code:
lfs@debian:/mnt/lfs/sources/perl-5.22.1$ cd /tools/lib/perl5 Code:
'lib/AnyDBM_File.pm' -> '/tools/lib/perl5/5.22.1/AnyDBM_File.pm' |
ok now i delete perl5 from /tools/lib, i need go root when rm -rf beacouse permision denied as lfs.
i will now compile it again and we will se is something different. but way root, i make it as lfs confusing to me |
ok ls -l /sources/perl5.22.1/lib/AnyDBM_File.pm
|
re
ok now it working. i deleted /tools/lib/perl5 and installit again, beacouse i saw he try copy files that are allready there he was yust replacing it i think. till you point me to tis dir i only deleted utared and start over. Thanks for that but i think i maybe forgot step " chown -v lfs $LFS/sources " but if i forgot that way other software went well.
MAN thanks for you time, i saw you helping a lott, in the name of all noobs thank you for that. we would never learn without people like you. |
All times are GMT -5. The time now is 06:15 PM. |