From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Davin Pearson Newsgroups: gmane.emacs.help Subject: Re: Trouble saving to the emacs file dir under Windows Date: Mon, 13 Jun 2016 17:14:09 -0700 (PDT) Message-ID: References: <2ad2e21d-065f-4cdb-a836-8b30b199a235@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1465864411 28815 80.91.229.3 (14 Jun 2016 00:33:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2016 00:33:31 +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 02:33:31 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 1bCcIK-0000iE-GU for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2016 02:33:29 +0200 Original-Received: from localhost ([::1]:60160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCcIJ-0006m2-BB for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jun 2016 20:33:27 -0400 X-Received: by 10.237.32.140 with SMTP id 12mr14003540qtb.6.1465863249610; Mon, 13 Jun 2016 17:14:09 -0700 (PDT) X-Received: by 10.36.84.85 with SMTP id t82mr324804ita.7.1465863249549; Mon, 13 Jun 2016 17:14:09 -0700 (PDT) Original-Path: usenet.stanford.edu!v48no1632338qgd.0!news-out.google.com!u18ni217qgd.1!nntp.google.com!p34no6562284qgp.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=122.56.210.21; posting-account=SVVH0AoAAABplEQzMkIR3gU7a0gK8IuF Original-NNTP-Posting-Host: 122.56.210.21 User-Agent: G2/1.0 Injection-Date: Tue, 14 Jun 2016 00:14:09 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:218126 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:110435 Archived-At: On Tuesday, June 14, 2016 at 1:57:03 AM UTC+12, Eli Zaretskii wrote: > > Date: Mon, 13 Jun 2016 00:39:18 -0700 (PDT) > > From: Davin Pearson > > > 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. > You didn't reply to any of the questions I asked. You also didn't > tell enough about your installer module. So it's hard to help you > more. The read only check box is not marked so chmod won't help me here. My inst= aller module adds a line to the dir file pointing to a new folder created i= nside c:/Program Files (x86)/emacs-*. I managed to manually change the rea= d only status of the file "dir" by right clicking on "dir" and choosing "Pr= operties", then clicking on "Security" and clicking on Users (DAVINPEARSON/= Users) and clicking on the box: allow full control. =20 > 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? Do you think that I should use the "install-info" utility to patch the "dir= " file? Do other flavours of GNU/Linux use the /media folder to access the windows = hard drives of your computer? Either way, the installer module could promp= t the user for the location of the c:\ drive.