.bash_profile permission denied

Paste the output of:

Code:
ls -al .bash_profile

Also, check if you have LES installed. That may deny editing of your bash_profile.

If so:

Code:
les -da

Edit your file, then re-enable:

Code:
les -ea
 
Last edited:
Try this:

Code:
chattr -i .bash_profile

Then try and edit it.

PS: This unsets the file as immutable. You can check immutable status of a file by doing:

Code:
lsattr filename

If it display an 'i', then it's immutable.
 
Last edited:
Back
Top