[CentOS] Serious Privileges Problem: Second Post!

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

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

Are you sure?

$ cat test1.py

print "Hello World"

$ cat test2.py

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 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

More information about the CentOS mailing list