emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.60; uid problems on w32


From: Lennart Borgman (gmail)
Subject: Re: 23.0.60; uid problems on w32
Date: Mon, 31 Mar 2008 17:49:50 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Jason Rumney wrote:
Lennart Borgman (gmail) wrote:
One reason to do this change however might be that it concerns security things (file owner). But I am not sure it actually matters.

Windows does not have a concept of file ownership. It has access control lists for files on NTFS drives, but they do not distinguish between the owner or creator of a file and other users who may have access to the file. That is why Emacs considers all files to be owned by the current user. Cygwin has some mapping of ACLs to posix ownership, but that is more for bidirectional use by Cygwin to retain its own idea of posix ownership. Files created outside Cygwin may end up with some arbritrary default similar to what Emacs does (I haven't studied the Cygwin code, so I don't know the exact details of what they do).


Are you sure windows does not have file ownership? If you look at the properties for a file, click on the "Security" tab and then then "Advanced" there is a tab saying owner.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]