View Single Post
Old 12-16-2010, 12:00 PM   #9
zeroh
Zealot
zeroh doesn't litterzeroh doesn't litter
 
Posts: 121
Karma: 132
Join Date: Dec 2010
Device: nook color
cd to where the .bash_profile is located.
If you can't do that because of permissions, you'll need to change it using chmod.
For example: if the user's path is /home/zeroh
you would type: ls -lad /home/zeroh
this will give you the current permissions for the directory. Note it down on paper.

Then you can change the perm by typing: chmod 777 /home/zeroh

Next, type: cd /home/zeroh

THen change the perm for the bash_profile: chmod 777 .bash_profile

then you can edit it and save it.

log in as the user and check if it fixed the issue.

after that you can change the permissions back again.


* NEVERMIND ALL I WROTE
zeroh is offline   Reply With Quote