.bash_profile(permission denied)

Jonathan-Marc Lapointe jmlap75 at yahoo.ca
Sun Jan 25 19:52:52 PST 2004

scott at coloray.com wrote:

> I am using the LFS book 4.1. The host system is Mandrake 9.2. The
> partition used for the LFS is on a separate drive. I am following the book
> and when I try to execute the following instructions for "Setting up the
> environment" in Chapter 5 I get a "permissions denied" response. Here is
> the output:
> _____________________________________________________
> lfs at linx:~> cat > ~/.bash_profile << "EOF"
>>umask 022
>>CC="gcc -s"
>>export LFS LC_ALL CC
>  -bash: /home/lfs/.bash_profile: Permission denied
> _____________________________________________________
> Please advise me how to assign the permissions correctly or whatever I
> need to do to continue. Warning: I can follow instructions, but I am a
> Linux newbie.
> Thanks for the help
> Scott

When you tried to create that file where you root? If not, try it again 
being root user.

More information about the lfs-support mailing list