X-Recipient: archive-cygwin@delorie.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@mail.gmail.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@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@gmail.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@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@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

