Quote:
when i try the same with a "." at the beggining - file executes!?
. /root/file <-'
|
No, it doesn't. It is sourced into the current shell, which is not the same as executing the file as a script.
And as fordeck says, you shouldn't be able to acces this file as a normal user. Make sure the permissions for /root are 700 (-rwx------).