delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/12/06:19:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 12 Apr 2005 12:18:51 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: No permissions on files created outside Cygwin
Message-ID: <20050412101851.GR1471@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <B70880B308FD6D4C921FFFA8AA88846B11D90F AT S01B1F4D DOT flur DOT zuerich DOT ubs DOT ch>
Mime-Version: 1.0
In-Reply-To: <B70880B308FD6D4C921FFFA8AA88846B11D90F@S01B1F4D.flur.zuerich.ubs.ch>
User-Agent: Mutt/1.4.2i

On Apr 12 11:44, daniel DOT steinmann AT ubs DOT com wrote:
> When I create a file outside Cygwin (for example with native gVim), the
> file is created with no permissions. Example:
> 
>   pidde2 AT w01b1k85 ~
>   $ ls -l _viminfo 
>   ----------+ 1 pidde2 domain users 30770 Apr 12 11:19 _viminfo
> 
> I see the the default umask outside Cygwin is '0000':
> 
>   pidde2 AT w01b1k85 ~
>   $ cmd /c bash -c umask
>   0000
> 
> The ACL of this file is as follows:
> 
>   pidde2 AT w01b1k85 ~
>   $ getfacl _viminfo 
>   # file: _viminfo
>   # owner: pidde2
>   # group: domain users
>   user::---
>   group::---
>   group:SYSTEM:rwx
>   group:Administrators:rwx
>   mask:rwx
>   other:---

What does calcs print on this file?  How are the permissions set on your
home directory?  It looks as if the inheritence of permissions is set
somewhat strange on your machine.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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