Xref: utzoo gnu.emacs.help:1794 comp.emacs:10571 Newsgroups: gnu.emacs.help,comp.emacs Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!cs.rpi.edu!ramabads From: ramabads@cs.rpi.edu (Shiva ) Subject: Re: Saving a file in emacs without the right permission bits Message-ID: Nntp-Posting-Host: cs.rpi.edu Reply-To: ramabads@cs.rpi.edu Organization: Rennselaer Polytechnic Institute, CS Dept. References: <1991Apr18.220342.25107@sj.ate.slb.com> <1991Apr19.052504.2074@Think.COM> Distribution: usa Date: 19 Apr 91 16:57:58 GMT Lines: 18 In article <1991Apr19.052504.2074@Think.COM>, barmar@think.com (Barry Margolin) writes: |> |> Actually, it's not overwriting the file, and it's not changing its |> ownership. GNU Emacs renames the old file to filename~ or |> filename.~~, and then creates a *new* file with the old file's |> name. Since you created the new file, you are its owner. |> Excuse this dumb question, but should'nt the owner be the only person who is allowed to rename files ??? Especially if the permissions are 644 as Kanan claims ??? -shiva -=- Shivkumar Ramabadran (shiva) ramabads@turing.cs.rpi.edu "Always do what you are afraid to do. " -=-