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: Tue, 14 Jun 2016 18:14:30 +0300 Message-ID: <83twgverah.fsf@gnu.org> References: <2ad2e21d-065f-4cdb-a836-8b30b199a235@googlegroups.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465918426 31015 80.91.229.3 (14 Jun 2016 15:33:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2016 15:33:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 14 17:33:46 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 1bCqLW-00018L-6T for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2016 17:33:42 +0200 Original-Received: from localhost ([::1]:36168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCqLV-0005qW-Dd for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2016 11:33:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCq2G-0003m1-Ur for help-gnu-emacs@gnu.org; Tue, 14 Jun 2016 11:13:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCq26-0008Ms-D6 for help-gnu-emacs@gnu.org; Tue, 14 Jun 2016 11:13:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCq26-0008MI-9p for help-gnu-emacs@gnu.org; Tue, 14 Jun 2016 11:13:38 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4556 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bCq23-000697-Dt for help-gnu-emacs@gnu.org; Tue, 14 Jun 2016 11:13:36 -0400 In-reply-to: (message from Davin Pearson on Mon, 13 Jun 2016 17:14:09 -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:110438 Archived-At: > Date: Mon, 13 Jun 2016 17:14:09 -0700 (PDT) > From: Davin Pearson > > The read only check box is not marked so chmod won't help me here. My installer module adds a line to the dir file pointing to a new folder created inside c:/Program Files (x86)/emacs-*. I managed to manually change the read only status of the file "dir" by right clicking on "dir" and choosing "Properties", then clicking on "Security" and clicking on Users (DAVINPEARSON/Users) and clicking on the box: allow full control. OK, so your problem is indeed with the NT security settings of "Program Files". I can only reiterate my suggestion not to install programs there, if they need to write to their installation directory. > > One thing I can add to what I already said: the usual way of modifying > > the 'dir' file is by running the 'install-info' utility. Not sure if > > doing so will solve your problem, but manually updating 'dir' is not a > > good idea, either. > > What's wrong with programmatically changing the contents of the "dir" file? Nothing, except that it's tricky, and install-info already does all the tricks for you. > Do you think that I should use the "install-info" utility to patch the "dir" file? That's my recommendation, yes. > Do other flavours of GNU/Linux use the /media folder to access the windows hard drives of your computer? Sorry, I have no idea.