This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: No permissions on files created outside Cygwin
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/