worthspending | 5 Apr 2012 13:49
Picon

Re: file attributes on a linux system

I know.  It is just one of those things.  I didn't even think about it until I read "save as" didn't apply the +x attribute.  Quite frankly, I simply forgot that the Tree Browser was a plugin.


Sorry.

On Thu, Apr 5, 2012 at 4:53 AM, Lex Trotman <elextr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On 5 April 2012 19:40, worthspending <worthspending-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> The question of how new files don't have +x using "save as" and do have +x
> might be answered with the following observation.
>
> - Create a new file File->New, then, File->Save, then, check the attribute:
>  No +x on the new file
> - Create a new file File->New, then, File->Save As, then, check the
> attribute: No +x on the new file
>
> I'm using the Tree Browser plugin, so...
> - Create a new file by right mouse click on the directory in the tree
> browser and enter the name of the new file directly into the text field in
> the list.  Hit enter to finish and create the file.  Check the attribute and
> it has +x on the new file.

It would have been worthwhile to mention this.

>
> I wonder if this is worthy of filing an issue report for the tree browser
> plugin.

Yes, on the correct place.

Cheers
Lex

>
>
>
> On Wed, Apr 4, 2012 at 4:49 AM, Lex Trotman <elextr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>
>> On 4 April 2012 19:42, Lex Trotman <elextr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> > On 4 April 2012 18:52, worthspending <worthspending-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> >> 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.
>> >>
>> >> I can confirm that the "save as" feature works as described in this
>> >> thread.
>> >>  No +x attribute on the saved file.
>> >
>> > Hi,
>> >
>> > In relation to your question, just do:
>> >
>> > umask 666; geany
>>
>>
>> Ahhh, make that
>>
>> umask 111; geany
>>
>> because umask is the bits you *don't* want, allways got that wrong.
>>
>> Cheers
>> Lex
>>
>> _______________________________________________
>> Geany-devel mailing list
>> Geany-devel-a8qQ1rezHI4@public.gmane.org
>> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
>
>
> _______________________________________________
> Geany-devel mailing list
> Geany-devel-a8qQ1rezHI4@public.gmane.org
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
_______________________________________________
Geany-devel mailing list
Geany-devel-a8qQ1rezHI4@public.gmane.org
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

<div>
<p>I know. &nbsp;It is just one of those things. &nbsp;I didn't even think about it until I read "save as" didn't apply the +x attribute. &nbsp;Quite frankly, I simply forgot that the Tree Browser was a plugin.</p>
<div><br></div>
<div>Sorry.<br><br><div class="gmail_quote">On Thu, Apr 5, 2012 at 4:53 AM, Lex Trotman <span dir="ltr">&lt;<a href="mailto:elextr@...">elextr@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div class="im">On 5 April 2012 19:40, worthspending &lt;<a href="mailto:worthspending@...">worthspending@...</a>&gt; wrote:<br>
&gt; The question of how new files don't have +x using "save as" and do have +x<br>
&gt; might be answered with the following observation.<br>
&gt;<br>
&gt; - Create a new file File-&gt;New, then, File-&gt;Save, then, check the attribute:<br>
&gt; &nbsp;No +x on the new file<br>
&gt; - Create a new file File-&gt;New, then, File-&gt;Save As, then, check the<br>
&gt; attribute: No +x on the new file<br>
&gt;<br>
&gt; I'm using the Tree Browser plugin, so...<br>
&gt; - Create a new file by right mouse click on the directory in the tree<br>
&gt; browser and enter the name of the new file directly into the text field in<br>
&gt; the list. &nbsp;Hit enter to finish and create the file. &nbsp;Check the attribute and<br>
&gt; it has +x on the new file.<br><br>
</div>It would have been worthwhile to mention this.<br><div class="im">
<br>
&gt;<br>
&gt; I wonder if this is worthy of filing an issue report for the tree browser<br>
&gt; plugin.<br><br>
</div>Yes, on the correct place.<br><br>
Cheers<br><span class="HOEnZb">Lex<br></span><div class="HOEnZb"><div class="h5">
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Apr 4, 2012 at 4:49 AM, Lex Trotman &lt;<a href="mailto:elextr@...">elextr@...</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 4 April 2012 19:42, Lex Trotman &lt;<a href="mailto:elextr <at> gmail.com">elextr@...</a>&gt; wrote:<br>
&gt;&gt; &gt; On 4 April 2012 18:52, worthspending &lt;<a href="mailto:worthspending@...">worthspending@...</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; Ya know, I really don't even want to ask as I don't want to be a pest,<br>
&gt;&gt; &gt;&gt; but,<br>
&gt;&gt; &gt;&gt; I haven't found a good example of setting the umask prior to launching<br>
&gt;&gt; &gt;&gt; geany. &nbsp;I would like to set the umask and &nbsp;have it tied to geany only.<br>
&gt;&gt; &gt;&gt; &nbsp;I<br>
&gt;&gt; &gt;&gt; run a lot of unattended processes, so, the line of thinking is if I<br>
&gt;&gt; &gt;&gt; make<br>
&gt;&gt; &gt;&gt; some type of global change I could introduce a problem to another<br>
&gt;&gt; &gt;&gt; program.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I can confirm that the "save as" feature works as described in this<br>
&gt;&gt; &gt;&gt; thread.<br>
&gt;&gt; &gt;&gt; &nbsp;No +x attribute on the saved file.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; In relation to your question, just do:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; umask 666; geany<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Ahhh, make that<br>
&gt;&gt;<br>
&gt;&gt; umask 111; geany<br>
&gt;&gt;<br>
&gt;&gt; because umask is the bits you *don't* want, allways got that wrong.<br>
&gt;&gt;<br>
&gt;&gt; Cheers<br>
&gt;&gt; Lex<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Geany-devel mailing list<br>
&gt;&gt; <a href="mailto:Geany-devel@...">Geany-devel@...</a><br>
&gt;&gt; <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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Geany-devel mailing list<br>
&gt; <a href="mailto:Geany-devel@...">Geany-devel@...</a><br>
&gt; <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>
&gt;<br>
_______________________________________________<br>
Geany-devel mailing list<br><a href="mailto:Geany-devel@...">Geany-devel@...</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>
</div>

Gmane