delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/02/17:30:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <7e917c730909020710i2fc5afeence456eb5300f722@mail.gmail.com>
References: <7e917c730909020710i2fc5afeence456eb5300f722 AT mail DOT gmail DOT com>
Date: Wed, 2 Sep 2009 16:30:26 -0500
Message-ID: <7e917c730909021430j65d0bee9h5e7091e9dd82c065@mail.gmail.com>
Subject: Re: 1.7: cygdrive files readonly by default
From: Vince Indriolo <vinceind AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Is there a setting or issue that would result in all externally
generated files in an NTFS filesystem to have 000 permissions?  New
files created in the shell appear to have the correct mask.  However,
I need to chmod every external file I want to modify.

Also, is it intended for my user account to have its primary group be 'None=
'?

I am using cygwin 1.7 on Windows 7 Ultimate.  Should I be running in
compatibility mode?  Should I install as administrator?

On Wed, Sep 2, 2009 at 9:10 AM, Vince Indriolo<vinceind AT gmail DOT com> wrote:
> I am running Windows 7, cygdrive 1.7.
> After installation all files my files show up as 000 permissions. =A0I
> have to chmod in order to modify files.
>
> vince AT Granada /cygdrive/f
> $ ls -l
> total 852
> d---------+ 1 vince =A0 =A0 =A0 =A0 =A0 =A0None =A0 =A0 4096 Aug 25 08:58=
 $RECYCLE.BIN
> d---------+ 1 vince =A0 =A0 =A0 =A0 =A0None =A0 =A0 =A0 =A00 Jul =A06 17:=
58 Development
> drwx------+ 1 vince =A0 =A0 =A0 =A0 =A0None =A0 =A0 4096 Aug 31 22:49 Drop
> ----------+ 1 vince =A0 =A0 =A0 =A0 =A0None =A0 132328 Sep =A02 03:03 FTT=
.xml
> drwx------+ 1 Administrators None =A0 =A0 4096 Jul 22 20:36 Projects
> d---rwx---+ 1 Administrators SYSTEM =A0 =A0 =A00 May 24 09:39 System Volu=
me
> Information
>
> I am able to add files and permissions seem ok:
> vince AT Granada /cygdrive/f
> $ touch hello
>
> $ ls -l hello
> -rw-r--r-- 1 vince None 0 Sep =A02 08:47 hello
>
> I am also slightly confused on why the mkpasswd puts me and the
> existing filesystem in the 'None' group rather than 'Users'.
> Secondly, existing files like: 'FTT.xml' has many more groups assigned
> to it than the file 'hello' with security controls.
> I would think that for all files created by cygwin, "System" and
> "Administrators" should always be given full control.
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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