unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ivanov Dmitry <usr345@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Incorrect error message for file operation in Windows
Date: Sun, 02 Jun 2013 20:11:18 +0300	[thread overview]
Message-ID: <83a9n8zbd5.fsf@gnu.org> (raw)
In-Reply-To: <1777537736.20130602204525@gmail.com>

> Date: Sun, 2 Jun 2013 20:45:25 +0400
> From: Ivanov Dmitry <usr345@gmail.com>
> CC: emacs-devel@gnu.org
> 
> > Can you describe in detail what do
> > you mean by 'My user doesn't have the right to write to "e:/video"'?
> > What kind of filesystem is on drive E:, and why cannot your user write there?
> 
> The filesystem is NTFS. OS: Windows XP SP3. I am working as an ordinary user, who can only read from E:\video, and can not write there.

Thanks, but that's not enough info.

Windows XP rarely disallows writing to disk files and directories.
There are 2 possible ways of doing that:

 . Turn on the read-only attribute

 . Set NT security descriptor that denies write access

Since E:\video is a directory, I'm guessing yours is the latter case.
If so, could you perhaps show the NT security DACL descriptor of that
directory?  There are a couple of utilities floating around, like
subinacl, that can display the DACL in several formats; either SDDL or
human-readable description will be fine.

The reason I'm asking these questions is that I need to simulate the
problem on my machine and see what is going on there, to be able to
diagnose it.  I already tried a few directories that are private to
other users, and never got the error.  So some details are missing for
reproducing your error.

Thanks.



  reply	other threads:[~2013-06-02 17:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-02 10:53 Incorrect error message for file operation in Windows Ivanov Dmitry
2013-06-02 15:57 ` Eli Zaretskii
2013-06-02 16:45   ` Re[2]: " Ivanov Dmitry
2013-06-02 17:11     ` Eli Zaretskii [this message]
2013-06-03 15:04       ` Eli Zaretskii
2013-06-02 20:50 ` Stefan Monnier
2013-06-03  7:31   ` Re[2]: " Ivanov Dmitry

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83a9n8zbd5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=usr345@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).