On Mon, Dec 15, 2014 at 03:52 AM, [email protected] wrote: 

On Mon, Dec 15, 2014 at 03:45 AM, "Ken Moffat"  wrote:On Sun, Dec 14, 2014 at 
08:33:09PM +0000, [email protected] (mailto:[email protected]) wrote:
lfs:/mnt/lfs/sources$ ls -l $LFS/sources  
total 330724 
-rw------- 1 root root   238860 Dec 15 01:45 XML-Parser-2.42_01.tar.gz 
-rw------- 1 root root   386604 Dec 15 01:45 acl-2.2.52.src.tar.gz 
-rw------- 1 root root   343692 Dec 15 01:45 attr-2.4.47.src.tar.gz 
-rw------- 1 root root  1214744 Dec 15 01:45 autoconf-2.69.tar.xz 
-rw------- 1 root root  1488984 Dec 15 01:45 automake-1.14.1.tar.xz

So, only root, or somebody who is in the 'root' group (if that
even exists) can read those files.  That sounds ok for a normal
system, but your lfs user will need to be able to read them.

I assume you created $LFS/sources as root, so now root needs to
chown those files.

ĸen
-- 
Juast as root, I copied the packages locally as root
cp -r /home/student/lfs/packages/* /mnt/lfs/sources
cp -r /home/student/lfs/patchs/* /mnt/lfs/sources
I think I should the permissions for all packages
Sorry that was wrong sending
==================================================
I tried this command but not working
chmod -v a+wt /mnt/lfs/sources/*
---------------------------------------------
lfs:/mnt/lfs/sources$ su
Password: 
root:/mnt/lfs/sources# cd /mnt/lfs
root:/mnt/lfs# chmod -v a+wt /mnt/lfs/sources/*
mode of '/mnt/lfs/sources/XML-Parser-2.42_01.tar.gz' changed from 0600 
(rw-------) to 1622 (rw--w--wT)
mode of '/mnt/lfs/sources/acl-2.2.52.src.tar.gz' changed from 0600 (rw-------) 
to 1622 (rw--w--wT)
mode of '/mnt/lfs/sources/attr-2.4.47.src.tar.gz' changed from 0600 (rw-------) 
to 1622 (rw--w--wT)
mode of '/mnt/lfs/sources/autoconf-2.69.tar.xz' changed from 0600 (rw-------) 
to 1622 (rw--w--wT)
mode of '/mnt/lfs/sources/automake-1.14.1.tar.xz' changed from 0600 (rw-------) 
to 1622 (rw--w--wT)
mode of '/mnt/lfs/sources/bash-4.3-upstream_fixes-3.patch' changed from 0600 
(rw-------) to 1622 (rw--w--wT)
------------------------------------------------------
root:/mnt/lfs# su - lfs
lfs:~$ cd /mnt/lfs/sources
lfs:/mnt/lfs/sources$ ls -l
total 330724
-rw--w--wT 1 root root   238860 Dec 15 01:45 XML-Parser-2.42_01.tar.gz
-rw--w--wT 1 root root   386604 Dec 15 01:45 acl-2.2.52.src.tar.gz
-rw--w--wT 1 root root   343692 Dec 15 01:45 attr-2.4.47.src.tar.gz
-rw--w--wT 1 root root  1214744 Dec 15 01:45 autoconf-2.69.tar.xz
-rw--w--wT 1 root root  1488984 Dec 15 01:45 automake-1.14.1.tar.xz
-rw--w--wT 1 root root    27825 Dec 15 01:46 bash-4.3-upstream_fixes-3.patch
-rw--w--wT 1 root root  7955839 Dec 15 01:45 bash-4.3.tar.gz
----------------------------------------
lfs:/mnt/lfs/sources$ tar -xf binutils-2.24.tar.bz2
tar: binutils-2.24.tar.bz2: Cannot open: Permission denied
tar: Error is not recoverable: exiting now
lfs:/mnt/lfs/sources$
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to