[lfs-support] LFS 7.2 Section 6.4 Chroot Error

yan ljy124818167 at qq.com
Sat Nov 10 18:13:53 PST 2012


On Sat 10 Nov 2012 11:09:08 PM CST, Chris Staub wrote:
> On 11/10/2012 10:05 AM, yan wrote:
>> I also get a problem at this point
>>
>>     chroot "$LFS" /tools/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ '
>> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin /tools/bin/bash --login +h
>> /tools/bin/env: /tools/bin/bash: Permission denied
>>
>>
>> root at cpu:/home/yan/lfs# ll /tools/bin/env
>> -rwxrwxr-x 1 lfs lfs 102693 Oct 28 12:24 /tools/bin/env*
>>
>> root at cpu:/home/yan/lfs# readelf -e /tools/bin/env | grep interpreter
>>          [Requesting program interpreter: /tools/lib/ld-linux.so.2]
>>
>> I don't have any idea to solve it
>
> Type "ls -la /tools/bin/bash"
thank you for the prompt
it's ok when i add +x permission for all file in directory /tools/bin/



More information about the lfs-support mailing list