[CentOS] No Such File...
Alexander Dalloz
ad+lists at uni-x.org
Fri Nov 6 20:48:48 UTC 2009
Victor Subervi schrieb:
> My bad. I meant index.py and the permissions were the same. Trying to
> resolve the problem, I have discovered that if I create the files from the
> command prompt as root they work. I originally ftp'd them to the server as
> another user. So I chown'd to root.root and chmod to 755 and it *still*
> doesn't work. Only the test files I create on the server. Why would that be?
>
> [root at 13gems global_solutions]# ls -al | grep test.py
> -rwxr-xr-x 1 root root 298 Nov 6 12:24 test.py
> [root at 13gems global_solutions]# ls -al | grep test2.py
> -rwxr-xr-x 1 root root 5716 Nov 6 12:25 test2.py
> [root at 13gems global_solutions]# ls -al | grep index.py
> -rwxr-xr-x 1 root root 316 Nov 6 07:05 index.py
> [root at 13gems global_solutions]# ls -al | grep template.py
> -rwxr-xr-x 1 root root 5806 Nov 6 07:06 template.py
> -rwxr-xr-x 1 root root 6093 Nov 6 07:06 template.pyc
>
> where test.py is identical to index.py (other than the necessary import) and
> template is identical to test2.py
> TIA,
> V
Your ftp'ing is not correct: ascii vs. binary transfer.
Alexander
More information about the CentOS
mailing list