From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: mismatch between what Emacs considers read-only and file permissions Date: Wed, 04 Feb 2015 22:00:09 +0200 Message-ID: <83h9v1fnw6.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1423080054 16528 80.91.229.3 (4 Feb 2015 20:00:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2015 20:00:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 04 21:00:50 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJ681-0001Ai-1F for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 21:00:49 +0100 Original-Received: from localhost ([::1]:38508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ680-0007CK-CI for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 15:00:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ67d-0007CF-E4 for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 15:00:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJ67X-0006E8-09 for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 15:00:25 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:37859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ67W-0006Do-OF for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 15:00:18 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NJ900700JF7J300@mtaout28.012.net.il> for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 21:58:30 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJ900MW4JHHSW80@mtaout28.012.net.il> for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 21:58:30 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102482 Archived-At: > From: Will Parsons > Date: 4 Feb 2015 19:53:33 GMT > > > My advice is not to mix Cygwin programs with native Emacs on Windows. > > Good native ports of Unix and GNU software to Windows are available, > > and you are advised to use them instead, if you don't want to deal > > with these incompatibilities. > > I've been using Cywin for over a decade and find it far too useful to > live without. Unless you are using applications for which native Windows ports are not available at all, you can have the same usefulness without Cygwin. > My real question is the second circumstance, where a file with the > Unix write bit set is marked read-only by Emacs. Since it only occurs > when I log in directly as root in console mode (which I don't do that > often), I can live with that too, using the same method. By *why* > does it happen? Because using sudo doesn't make you root, it only gives you root's security privileges.