When I do as root:
Code:
cp /mnt/hda1/filename /etc/filename
the onwnership of the new file is root:root.
Still I can not run the script as root, not even when I do as root:
Code:
chmod u+x filename
or
Code:
chmod +x filename
or
Code:
chmod 777 filename
Which should work according to several Linux howto's.

I get a message:
Code:
bash: filename: command not found
The file exists
When I do:
Code:
ls -l filename
I get
Code:
-rwxrwxrwx    1  root root   549 jan 26 15:25 filename
('filename' is colored green)
Is user knoppix using another shell or something like that?