all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 819@emacsbugs.donarmstrong.com
Subject: bug#819: 23.0.60; group and owner "Everyone" - what's that about?
Date: Sat, 30 Aug 2008 11:10:52 +0300	[thread overview]
Message-ID: <u3akmapo3.fsf@gnu.org> (raw)
In-Reply-To: <002501c90a44$23eb0af0$0200a8c0@us.oracle.com>

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: "'Eli Zaretskii'" <eliz@gnu.org>
> Date: Fri, 29 Aug 2008 19:00:12 -0700
> 
> > > I probably misspoke a bit. The `Everyone'...`Everyone' 
> > owner and group appear
> > > only on `..', and only when `..' represents the top level: 
> > c:\. And for Dired in
> > > c:\ itself there is no `.' entry, so I can't say it 
> > contradicts what `..' showed
> > > one level down (`Everyone'...`Everyone').
> > >
> > > The bug, as I see it, is that `..' is different (showing
> > > `Everyone'...`Everyone') _only_ for a directory just under 
> > c:\ - for example,
> > > Dired in c:\foo\. Everywhere else, I see the same thing for 
> > `..' that I see for
> > > every other file or directory (my user name and `None', in my case).
> > 
> > So what seems to be happening is that the security descriptor for the 
> > disk itself is different than the security descriptor for the 
> > files and folders it contains, and Emacs is reporting that.
> 
> Just so I can understand a little better, could you elaborate? I thought that
> Eli was saying that with FAT32 it should say Everyone...Everyone everywhere.

Yes, that is what I was saying.  The fact that some files are not
reported as Everyone...Everyone might be some bug in Emacs, I will
look into this shortly.

What Jason suggests above is AFAIK impossible, since Windows security
APIs always report the same descriptor S-1-1-0 for every file on a
FAT32 volume.  S-1-1-0 is the security descriptor of "Everyone".

Do you have the subinacl.exe program?  (If not, you can download and
install the Windows Resource Kit.)  Try this command and see what it
reports about your directories:

    subinacl /output=log.txt /subdirectories c:\some\directory

(This could take a while on a large disk, so pick up a directory that
does not have too many subdirectories and files under it.)  The
results are in the file log.txt that is encoded in UTF-16, and should
be viewed by visiting it with Emacs.

Do you see anything but "everyone" in the reported owner and primary
group of your files?







  parent reply	other threads:[~2008-08-30  8:10 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <u8wufaefr.fsf@gnu.org>
2008-08-29 15:00 ` bug#819: 23.0.60; group and owner "Everyone" - what's that about? Drew Adams
2008-08-29 17:46   ` Eli Zaretskii
2008-08-29 18:12     ` Drew Adams
2008-08-29 19:03       ` Jason Rumney
2008-08-29 19:22       ` Eli Zaretskii
2008-08-29 20:06         ` Drew Adams
2008-08-29 21:05           ` Stefan Monnier
2008-08-30  0:32           ` Jason Rumney
2008-08-30  2:00             ` Drew Adams
2008-08-30  2:52               ` Jason Rumney
2008-08-30  3:29                 ` Drew Adams
2008-08-30  8:15                   ` Eli Zaretskii
2008-08-30  8:56                     ` Eli Zaretskii
2008-08-30 13:55                       ` Drew Adams
2008-08-30 14:19                         ` Drew Adams
2008-08-30 14:25                         ` Eli Zaretskii
2008-08-30  8:10               ` Eli Zaretskii [this message]
2008-08-29 18:10   ` bug#819: marked as done (23.0.60; group and owner "Everyone" - what's that about?) Emacs bug Tracking System
     [not found]   ` <handler.819.D819.122003287910930.notifdone@emacsbugs.donarmstrong.com>
2008-08-29 18:44     ` bug#819: closed by Eli Zaretskii <eliz@gnu.org> (bug#819: 23.0.60; " Drew Adams
2008-08-29 19:38       ` Eli Zaretskii
2008-08-29 19:56         ` Eli Zaretskii
2008-08-29 20:10           ` Drew Adams
2008-08-29 20:07         ` Drew Adams

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=u3akmapo3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=819@emacsbugs.donarmstrong.com \
    --cc=drew.adams@oracle.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 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.