Ya know, I really don't even want to ask as I don't want to be a pest, but, I haven't found a good example of setting the umask prior to launching geany.  I would like to set the umask and  have it tied to geany only.  I run a lot of unattended processes, so, the line of thinking is if I make some type of global change I could introduce a problem to another program.<div>
<br></div><div>I can confirm that the "save as" feature works as described in this thread.  No +x attribute on the saved file.</div><div><br></div><div>Thanks<br><br><div class="gmail_quote">On Tue, Apr 3, 2012 at 7:39 PM, Lex Trotman <span dir="ltr"><<a href="mailto:elextr@gmail.com">elextr@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 4 April 2012 09:30, Lex Trotman <<a href="mailto:elextr@gmail.com">elextr@gmail.com</a>> wrote:<br>

> On 4 April 2012 01:56, Alexander Eberspächer<br>
> <<a href="mailto:alex.eberspaecher@gmail.com">alex.eberspaecher@gmail.com</a>> wrote:<br>
>> On Sun, 1 Apr 2012 01:38:15 -0500<br>
>> worthspending <<a href="mailto:worthspending@gmail.com">worthspending@gmail.com</a>> wrote:<br>
>><br>
>>> I develop ruby code on a linux box.  For all new files Geany creates,<br>
>>> the file attributes are set to include the +x executable attribute.<br>
>><br>
>> Let me briefly describe a related issue: if a file with the +x attribute<br>
>> is opened in Geany and "Save as" as chosen, the saved file will lack<br>
>> the +x attribute. Is this desired behaviour?<br>
<br>
</div>Sorry initially misread your comment, you said "save as"<br>
<br>
But the reason is the same as below, it creates a new file, which will<br>
get its protection from the current umask.<br>
<br>
That *is* desired behaviour because it is how all Unix systems work,<br>
we should not be different.  Users would be surprised if Geany<br>
behavior is different to all others and there is no guarantee that we<br>
can actually set any specific protections since the user may not have<br>
sufficient permission to do so due to the umask.<br>
<br>
Cheers again<br>
<span class="HOEnZb"><font color="#888888">Lex<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
> This occurs when the use_atomic_file_saving option is set.  It is not<br>
> "desired" but it is documented behaviour and is unavoidable.  As I<br>
> said before, set the umask before running Geany.<br>
><br>
> Cheers<br>
> Lex<br>
><br>
>><br>
>> Greetings<br>
>><br>
>> Alex<br>
>><br>
>> _______________________________________________<br>
>> Geany-devel mailing list<br>
>> <a href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a><br>
>> <a href="https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a><br>
<a href="https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
</div></div></blockquote></div><br></div>