<html><body><span style="font-family:Verdana; color:#000; font-size:10pt;"><div>Matthew:</div><div><br></div><div>1) The file system is EXT4, so that wasn't the issue. Good thought, though.</div><div><br></div><div>2) It was the "no" that did it!</div><div><br></div><div>The value of "gio_unsafe_save_backup=no" is what made the difference. Since the default was "true," I expected the opposite to be "false." Guess that was my bad...</div><div><br></div><div>THANKS!!!!!!!!!</div><div><br></div><div>DL<br></div><div><br></div><div><br></div><div><span style="font-size: 12pt;">David Lee Crites</span>, DevOps Dude</div><div><strong>Work</strong>: <a href="mailto:david.crites@xoom.com">david.crites@xoom.com</a></div><div><strong>Home</strong>: <a href="mailto:lee@critesclan.com">lee@critesclan.com</a></div><div><strong>Cell</strong>: 806-471-9063</div><div><strong>Skype</strong>: davidleecrites</div><div><em>quod alii ut vivere</em></div><div><br><br></div>
<blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;">
<div id="wmQuoteWrapper">
-------- Original Message --------<br>
Subject: Re: [Geany-Users] geany changing permissions on files when it<br>
saves them.<br>
From: Matthew Brush <<a href="mailto:mbrush@codebrainz.ca">mbrush@codebrainz.ca</a>><br>
Date: Sat, August 29, 2015 11:17 pm<br>
To: <a href="mailto:users@lists.geany.org">users@lists.geany.org</a><br>
<br>
On 15-08-29 10:41 PM, David Lee Crites wrote:<br>
> Y'all;<br>
><br>
> I am having an issue that is really starting to put me on edge. No matter what<br>
> the perms are of a file, when geany saves it, they are 0644, period. It doesn't<br>
> matter what type of file it is (shell script, txt file, perl, etc).<br>
><br>
> I have done a complete uninstall and reinstall.<br>
><br>
> I have looked through the previous bug reports and done some searches to see if<br>
> others have had this issue. It appears to have been an on-going deal, with<br>
> threads simply ceasing to continue and being closed after a while. I found, and<br>
> tried the hints from:<br>
> <a href="http://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving">http://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving</a><br>
><br>
> I have tried a number of combinations from the above web page, with no change.<br>
> It is currently set to:<br>
> use_gio_unsafe_file_saving=true<br>
> use_atomic_file_saving=false (was true when installed)<br>
> gio_unsafe_save_backup=false<br>
><br>
> I have systematically attempted all 8 possibilities of the above three settings,<br>
> with no change. I:<br>
><br>
>    * make the change<br>
>    * remove the file from the project<br>
>    * close the project<br>
>    * do a "completely uninstall" geany (using synaptic)<br>
>    * chmod the file (0750)<br>
>    * install geany (just geany and geany-common)<br>
>    * open the project<br>
>    * add the file to the project<br>
>    * change the file<br>
>    * save it<br>
>    * ls -l shows 0644<br>
><br>
><br>
> Just for giggles and grins: umask is 0022. It is obvious this isn't the cause,<br>
> or the perms would be 755 -- which I could deal with for the time being.<br>
><br>
> I am currently using geany 1.23.1 on linux mint 14.04. I noted it was not the<br>
> "latest and greatest," so I added the PPA to the system, and voila, the upgrade<br>
> manager automagically upgraded me to 1.25.<br>
><br>
> So I created a new project, added a bash script to it (original perms 0700),<br>
> made a trivial change, and sure enough, the perms became 0644.<br>
><br>
> I cannot continue to deal with having to reset the perms every time I edit a<br>
> file. What needs to change? What do I have to do to force geany to quit<br>
> resetting the perms to 0644?<br>
><br>
> This started several months ago, but I thought it had something to do with my<br>
> Vagrant configurations and the fact that I am working in 4 different OS/Version<br>
> configurations. But today's testing has all been on one system (one which worked<br>
> perfectly several months ago).<br>
><br>
> Tips/tricks/pointers/answers appreciated!<br>
><br>
<br>
Hi,<br>
<br>
Not really an answer but a data point. I'm using Geany 1.25 with Ubuntu <br>
14.04 and I can edit/save executable bash scripts fine without messing <br>
up the permissions. My settings are:<br>
<br>
gio_unsafe_save_backup=no<br>
use_atomic_file_saving=false<br>
use_gio_unsafe_file_saving=true<br>
<br>
The only thing that comes to mind for your problem is that the file <br>
system is not supporting permissions correctly (ex. FAT32, Samba, etc).<br>
<br>
Cheers,<br>
Matthew Brush<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>

</div>
</blockquote></span></body></html>