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: Trouble saving to the emacs file dir under Windows Date: Mon, 13 Jun 2016 06:49:08 +0300 Message-ID: <83porlg34b.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465789734 31132 80.91.229.3 (13 Jun 2016 03:48:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2016 03:48: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 Mon Jun 13 05:48:54 2016 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 1bCIrs-00049W-17 for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jun 2016 05:48:52 +0200 Original-Received: from localhost ([::1]:53625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCIrr-0007EY-0y for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Jun 2016 23:48:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCIrR-0007EG-DH for help-gnu-emacs@gnu.org; Sun, 12 Jun 2016 23:48:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCIrL-0001DE-9k for help-gnu-emacs@gnu.org; Sun, 12 Jun 2016 23:48:24 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCIrL-0001CA-6J for help-gnu-emacs@gnu.org; Sun, 12 Jun 2016 23:48:19 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3312 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bCIrJ-0007Hr-8a for help-gnu-emacs@gnu.org; Sun, 12 Jun 2016 23:48:17 -0400 In-reply-to: (message from Davin Pearson on Sun, 12 Jun 2016 18:26:10 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:110426 Archived-At: > Date: Sun, 12 Jun 2016 18:26:10 -0700 (PDT) > From: Davin Pearson > > I am trying to get write access to the Emacs file dir under the MS Windows operating system. > > Here is the output of the chmod command: > > c:\Program Files (x86)\emacs-24.5\share\info>chmod 666 dir > chmod: changing permissions of 'dir': Permission denied > > What gives? How do I go about getting write access to the file "dir"? Is that file really a read-only file? Does its Properties tab in Explorer show the Read-only attribute set? If not, chmod won't help you, and your problem is probably due to the fact that your user is denied access to "Program Files" and everything under it. In that case, the solution is not to install Emacs under "C:\Program Files", but elsewhere, preferably on disk D.