When creating files with Nano 1.3.2 , all files get the permission of 600 instead of the umask, which is set to 0022 (thus the files should be 644). Touching files (touch foo) produces correct permission based on umask Reproducible: Always Steps to Reproduce: 1. start editing new file with nano 2. save the file 3. Actual Results: the file permissions were incorrect Expected Results: the file permissions should have been those defined by umask
what about nano-1.3.3 ?
1.3.3 does the same. Just reverted back to 1.2.4, wich saves the files with correct permissions. Haven't tried the other 1.3 releases, to see if this is a common bug in 1.3.
forwarded to upstream
ok, David Lawrence Ramsey put together a small patch which you can find in 1.3.2-r1 and 1.3.3-r1