all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Davin Pearson <davin.pearson@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Trouble saving to the emacs file dir under Windows
Date: Mon, 13 Jun 2016 00:39:18 -0700 (PDT)	[thread overview]
Message-ID: <2ad2e21d-065f-4cdb-a836-8b30b199a235@googlegroups.com> (raw)
In-Reply-To: <mailman.1408.1465789707.1216.help-gnu-emacs@gnu.org>

On Monday, June 13, 2016 at 3:48:29 PM UTC+12, Eli Zaretskii wrote:
> > Date: Sun, 12 Jun 2016 18:26:10 -0700 (PDT)
> > From: Davin Pearson <davin dot pearson at gmail dot com>
> > 
> > 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.

I am trying to write an automated installer module that patches the dir
file to add an additional link to a file jtw-manual.info.  My installer module complains about not being able to save the file "dir".

If there is no way to change the file "dir" then my system will be less usable 
to users of GNU Emacs on Windows systems.   Everything works fine under Linux, although the user has to be in logged in as root to patch the "dir" file, among
other things.

I thought that there must be a way of writing to the "dir" file...

It is possible under GNU/Linux to change the "dir" file.  That may be some way forward here.  The user could boot into Linux and run the installer script which
enables them to access the C:/Program Files (x86)/ folder.

Do different flavours of GNU/Linux have the same format for accessing the C drive? On my system it is located at /media/www/C1TB where C1TB is the Windows name for my C drive.


  parent reply	other threads:[~2016-06-13  7:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-13  1:26 Trouble saving to the emacs file dir under Windows Davin Pearson
2016-06-13  3:49 ` Eli Zaretskii
     [not found] ` <mailman.1408.1465789707.1216.help-gnu-emacs@gnu.org>
2016-06-13  7:39   ` Davin Pearson [this message]
2016-06-13  8:00     ` Yuri Khan
2016-06-13 13:57     ` Eli Zaretskii
     [not found]     ` <mailman.1431.1465826221.1216.help-gnu-emacs@gnu.org>
2016-06-14  0:14       ` Davin Pearson
2016-06-14  6:34         ` Yuri Khan
2016-06-14 15:14         ` Eli Zaretskii
     [not found]         ` <mailman.1493.1465917237.1216.help-gnu-emacs@gnu.org>
2016-06-15  0:34           ` Davin Pearson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2ad2e21d-065f-4cdb-a836-8b30b199a235@googlegroups.com \
    --to=davin.pearson@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.