X-Spam-Check-By: sourceware.org Message-ID: <465C3858.7070301@cygwin.com> Date: Tue, 29 May 2007 10:27:36 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070308 Fedora/1.5.0.10-2.fc4.remi Thunderbird/1.5.0.10 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: file permissions on vista References: <465B4380 DOT 4080606 AT sophia DOT inria DOT fr> <465B4E49 DOT B94276B0 AT dessent DOT net> <465BD6EF DOT 909 AT sophia DOT inria DOT fr> In-Reply-To: <465BD6EF.909@sophia.inria.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Arnaud Legout wrote: > Hello Brian, > > Brian Dessent wrote: >> I can't reproduce this. I right click and create a new Notepad file >> foo.txt, it has the permissions: >> > > may be you have deactivated the UAC as morgan suggested? >> The permissions on a file created with native Windows methods should >> inherit from the parent folder, following standard NTFS rules, so maybe >> you need to look at what the containing folder's permissions are set to. >> > > I see. Indeed, the access right on the \cygwin\c was 000, then I did a > chmod u+rwx on this folder, > but of course, vista is not aware of that and I suppose that NTFS still > consider that c has no right, > thus any folder and file created in c:. > However, I have no idea how to manage those rights on vista. > Do you know any reasonable documentation on those access rights on vista. > Also, how are mapped the vista rights to the cygwin rights? 'chmod' manipulates the Windows security mechanism. The "typical" way of manipulating permissions from Windows is to use the "Security" tab in the properties dialog that you can get on any file/folder in the Explorer by doing a RMB and selecting "Properties". -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/