Hi all :

Got a problem with bash on a new Fedora Core 1install.

When I execute my script (clientLogin) as root there is no problem
when I su to testuser and execute the script I get :

/bin/bash: /root/.bashrc: Permission denied

Now what has /bin/bash to do with /root/.bashrc ?

Permision overview
-rwxr-xr-x  1 root root 211 Apr 30 16:17 clientLogin

The script it self :
#!/bin/bash
#
echo "My clientLoginScript"

Strange thing is that after the err I get my result...

su testuser
./clientLogin
/bin/bash: /root/.bashrc: Permission denied
My clientLoginScript

Have I nice Week-End

Peter



_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to