unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* File Owner and Group ID on Windows
@ 2008-05-09 21:13 Eli Zaretskii
  2008-08-21  1:27 ` Juanma Barranquero
  0 siblings, 1 reply; 26+ messages in thread
From: Eli Zaretskii @ 2008-05-09 21:13 UTC (permalink / raw)
  To: emacs-devel

I've just committed a series of changes, mainly to w32-specific files,
but also to dired.c, to query the w32 filesystems and report the owner
and group of every file.  (Up till now, Emacs on Windows would
attribute all the files to the user who was running the Emacs
session.)  This affects file-attributes,
directory-files-and-attributes, and Dired.

These changes required incompatible changes in `struct stat', so
please remove all *.o files (in src/oo-spd/i386/ and in
lib-src/oo-spd/i386/) before saying "make".

There could be some fallout, especially in code that was working until
now because all files appeared to be owned by the current user.  Now
this will change, which could cause Emacs think the user is trying to
change files she doesn't own.  VC is one place where such problems
could happen.  I'm asking Windows users to please be alert and report
any problems that could be related to this.

To temporarily work around any problems you bump into, you can set
w32-get-true-file-attributes to nil.

The new code needs some optimization, especially for networked drives;
I will add SID caching to do that.  Again, if you find Emacs too
sluggish, set w32-get-true-file-attributes to nil until performance
improves.

Note that lib-src programs now use our own version of `stat' as well
(this couldn't be avoided, due to incompatible layouts of `struct
stat'), so any problems with file accessibility from those programs
could also be due to some snafu I failed to resolve.  The version of
`stat' used by lib-src is much simpler and doesn't bother to look for
true file owner or even compute the inode, but any bugs I left there
could cause failures in previously working workflow.

Thanks.




^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2008-08-25 15:13 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-09 21:13 File Owner and Group ID on Windows Eli Zaretskii
2008-08-21  1:27 ` Juanma Barranquero
2008-08-21  1:35   ` Lennart Borgman (gmail)
2008-08-21  1:56     ` Juanma Barranquero
2008-08-21  5:44   ` Eli Zaretskii
2008-08-21 14:14     ` Juanma Barranquero
2008-08-21 16:37       ` Eli Zaretskii
2008-08-22 10:34         ` Juanma Barranquero
2008-08-22 10:35           ` Juanma Barranquero
2008-08-23 16:10             ` segfault in system-process-attributes on GNU/Linux Bob Rogers
2008-08-23 17:40               ` Eli Zaretskii
2008-08-23 19:12                 ` Bob Rogers
2008-08-23 20:51                   ` Eli Zaretskii
2008-08-23 18:05               ` Andreas Schwab
2008-08-23 18:17                 ` Eli Zaretskii
2008-08-22 11:17           ` File Owner and Group ID on Windows Eli Zaretskii
2008-08-22 11:29             ` Juanma Barranquero
2008-08-24 20:20           ` Eli Zaretskii
2008-08-24 22:52             ` Juanma Barranquero
2008-08-25  3:07               ` Eli Zaretskii
2008-08-25  3:34                 ` Lennart Borgman (gmail)
2008-08-25 12:26                 ` Juanma Barranquero
2008-08-25 12:48                   ` Lennart Borgman (gmail)
2008-08-25 12:50                     ` Juanma Barranquero
2008-08-25 12:53                       ` Lennart Borgman (gmail)
2008-08-25 15:13                         ` Juanma Barranquero

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).