bug-zile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-zile] Zile always changes file's mode on saving?


From: J.B. Nicholson-Owens
Subject: [Bug-zile] Zile always changes file's mode on saving?
Date: Sat, 31 Jan 2009 15:21:18 -0600
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

I tried the following:

$ touch testfile
$ ls -l testfile
-rw-r--r-- 1 jbn jbn 0 2009-01-31 15:06 testfile
$ chmod 600 testfile
$ ls -l testfile
-rw------- 1 jbn jbn 0 2009-01-31 15:06 testfile
$ zile testfile
[I typed in "hi there." and hit return.  Then ^X^C to save and exit.]
$ ls -l testfile
-rw-r--r-- 1 jbn jbn 10 2009-01-31 15:07 testfile
$ cat testfile
hi there.
$ ls -l testfile
-rw-r--r-- 1 jbn jbn 10 2009-01-31 15:07 testfile

Does zile always set the mode of the file it is editing when saving the file? If so, why?

I'm at a loss to explain what else would have changed the mode of this file in the above sequence.

I'm trying zile on Fedora 9 GNU/Linux.

$ cat /proc/version
Linux version 2.6.27.9-libre.73.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Tue Dec 16 23:23:21 EST 2008

Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]