This a deliberate step to slightly improve security. To have a file arrive and
be immediately executable makes it a bit easier to write worms and the like.
There is a way to get around it. If you write to a file that has already got
execute permission, FTP does not reset it to not-execute. But you cannot write
to a program that is executing as you will get 'text file busy'.
What I do is ftp to program.new. Then manually stop the program, cp
program.new program and restart program. If you set chmod +x on program.new
once, you will not have to repeat that step.
But if a simple chmod is something that causes you grief, I can only suggest
life is far to easy for you as it is!
I find command line recall makes the implementation of the steps above really
quick and simple.
Martin
--- In "Blair" <> wrote:
>
> Anyone know if there's a way to get the version of FTP that TS supplies to
> support changing permissions? Kind of a pain to have to chmod a+x my app
> every time I transfer it over.
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|