[Geany-devel] file attributes on a linux system

Lex Trotman elextr at xxxxx
Thu Apr 5 09:53:07 UTC 2012


On 5 April 2012 19:40, worthspending <worthspending at gmail.com> 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 at gmail.com> wrote:
>>
>> On 4 April 2012 19:42, Lex Trotman <elextr at gmail.com> wrote:
>> > On 4 April 2012 18:52, worthspending <worthspending at gmail.com> 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 at uvena.de
>> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
>
>
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>



More information about the Devel mailing list