<div dir="ltr">Hi:<div><div dir="ltr"></div></div>
<div><br></div><div style>I am using Textmate to edit scripts on a remote server. I use FTP (client is Transmit) to get to them, then open them from Transmit it Textmate.</div><div style><br></div><div style>I noticed something odd recently: With each series of edits to the script file, after I saved, I went to run the script and the execute permission was gone (I edited the file, did chmod u+x, ran the script, then went to edit again, etc. when I saved, I had to chmod u+x again because the execute was lost).</div>

<div style><br></div><div style>The only reason (other than server bugs) that I can find that this my have happened is that I opened the file with Textmate originally before I did chmod u+x (right after I did touch to create it), and that the permissions on the file that Textmate opened were -rw-r--r-- so I restored those when it saved.</div>

<div style><br></div><div style>Two questions:</div><div style><br></div><div style>1) Is this possible? Does Textmate do this?</div><div style><br></div><div style>2) If yes, how can I get it not to change permissions back on save?</div>

<div style><br></div><div style>Any help, direction or advice is much appreciated!</div><div style><br></div><div style>Thanks,</div><div style><br></div><div style>Jeff</div></div>