delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/28/19:33:44

X-Spam-Check-By: sourceware.org
Message-ID: <465B66BE.3090304@gmail.com>
Date: Mon, 28 May 2007 17:33:18 -0600
From: morgan gangwere <0 DOT fractalus AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
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>
In-Reply-To: <465B4E49.B94276B0@dessent.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian Dessent wrote:
> Arnaud Legout wrote:
> 
>> I have the latest version of cygwin installed
>> CYGWIN_NT-6.0 cecile 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin
>>
>> When create a file or a folder in vista (using the explorer or a windows
>> application),
>> the file or folder is created without any right (like when a chmod 000
>> is applied).
>>
>> This is a problem when you do a rsync.
>>
>> I can apply a
>> chmod -R u+rwx *
>> on the root folder, but this is not really clean.
>>
>> Is it a known but of cygwin on vista, or is it a consequence
>> of the new security model introduced in vista (that I am not sure I
>> understand).
>> In the later case, is there something to configure in order to solve
>> this issue?
> 
> I can't reproduce this.  I right click and create a new Notepad file
> foo.txt, it has the permissions:
> 
> $ ls -l foo.txt
> -rwx------+ 1 Administrators None 0 May 28 14:40 foo.txt
> 
> brian AT vista /c/users/brian
> $ getfacl foo.txt
> # file: foo.txt
> # owner: Administrators
> # group: None
> user::rwx
> user:brian:rwx
> group::---
> group:SYSTEM:rwx
> mask:rwx
> other:---
> 
> This looks normal, I see the exact same behavior in Windows XP, except
> the owner is my user instead of the Administrators group, but I think
> there's a policy setting that controls this.
> 
> 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.
> 
> Brian
> 
> --
> 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/
> 
> 

UAC (User Ass Control) is playing hell with me - i turned it off and no
problems since I rebooted. also, TURN OFF WINDOWS LIVE ONECARE, it is an
axe to Cygwin. Also, Cygwin will vewry often NOT run on Vista Home
because certain things seem to be missing.

1 - Turn Off UAC
2 - Turn Off Live One Care
3 - reboot

thats what I did and it worked.

Just a thought,
Morgan Gangwewre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGW2a9CF9T/dUsmAgRAvWGAJ49lsAhamYNC2x+3eRdeKDAzFCCnACg3NO2
qt6Malrf/HDHW9PjH/zDQqA=
=r5Gf
-----END PGP SIGNATURE-----

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019