[CentOS] Serious Privileges Problem: Second Post!

Tue Nov 10 06:53:30 UTC 2009
Mogens Kjaer <mk at crc.dk>

On 11/07/2009 08:33 PM, Frank Cox wrote:
...
> The file command will verify that for you.

Are you sure?

$ cat test1.py
#!/usr/bin/python

print "Hello World"

$ cat test2.py
#!/usr/bin/python

print "Hello World"

$ ./test1.py
Hello World
$ ./test2.py
./test2.py: Command not found.
$ file test1.py test2.py
test1.py: python script text executable
test2.py: python script text executable

test2.py is a copy of test1.py and changed by
doing a :set ff=dos in vim.

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk at crc.dk Homepage: http://www.crc.dk