LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Permission denied when setting up the environment. (https://www.linuxquestions.org/questions/linux-from-scratch-13/permission-denied-when-setting-up-the-environment-4175732131/)

coltson 12-25-2023 10:57 AM

Permission denied when setting up the environment.
 
Hi. When following the steps of chapter 4.5 "Setting Up the Environment " (http://archive.clfs.org/clfs-museum/...settingenviron)

I type the following commands:

Code:

cat > ~/.bash_profile << "EOF"
Code:

exec env -i HOME=${HOME} TERM=${TERM} PS1='\u:\w\$ ' /bin/bash
Code:

EOF
and receive
Code:

-su: //.bash_profile: Permission denied
I am logged in as clfs user.

EDITED: I forgot to create the clfs home dir, problem solved.

hazel 12-25-2023 11:23 AM

So mark it as solved using the thread tools.


All times are GMT -5. The time now is 07:24 AM.