Re: Serious Privileges Problem: Second Post!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxx Homepage: http://www.crc.dk
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux