Re: mg: permissions are reset when saving the file

2021-10-18 Thread Hiltjo Posthuma
On Sun, Oct 17, 2021 at 08:37:51PM +0200, Florian Obser wrote: > On 2021-10-17 16:17 +02, Hiltjo Posthuma wrote: > > Hi, > > > > I noticed in mg when changing permissions while editing a file it will not > > retain the permissions. > > This is how emacs behaves as well. > > > > > Steps to

Re: mg: permissions are reset when saving the file

2021-10-17 Thread Florian Obser
On 2021-10-17 16:17 +02, Hiltjo Posthuma wrote: > Hi, > > I noticed in mg when changing permissions while editing a file it will not > retain the permissions. This is how emacs behaves as well. > > Steps to reproduce: > > * mg newscript > * Write something and save the file. > * Outside mg

mg: permissions are reset when saving the file

2021-10-17 Thread Hiltjo Posthuma
Hi, I noticed in mg when changing permissions while editing a file it will not retain the permissions. Steps to reproduce: * mg newscript * Write something and save the file. * Outside mg (while keeping mg open) in some other terminal do: chmod +x newscript * While keeping mg open write