No permissions on files created outside Cygwin

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Apr 12 10:23:00 GMT 2005


On Apr 12 11:44, daniel.steinmann@ubs.com wrote:
> When I create a file outside Cygwin (for example with native gVim), the
> file is created with no permissions. Example:
> 
>   pidde2@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@w01b1k85 ~
>   $ cmd /c bash -c umask
>   0000
> 
> The ACL of this file is as follows:
> 
>   pidde2@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@cygwin.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/



More information about the Cygwin mailing list