<br><br><div class="gmail_quote">On Mon, Apr 5, 2010 at 8:39 AM, Adis Nezirovic <span dir="ltr">&lt;<a href="mailto:adis@linux.org.ba">adis@linux.org.ba</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
</div>Preserving mode for existing scripts is OK, but I personally think that<br>
the default for new scripts should be 0644. Admin should run chmod +x<br>
manually.<br></blockquote></div><br>I don&#39;t disagree that the Admin is ultimately responsible for making sure it&#39;s correctly configured, but I don&#39;t agree that the admin should be forced to do everything manually (especially things that could be so trivially scripted) as a general policy. IMHO, sane automation of the configuration (such as adopting the same permissions as the version being replaced) are preferable. This is especially useful in systems where the updates might be happening unattended. <br>
<br>(Of course, in the absence of automation 0644 is a better default than 0755.)<br>