X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 2 Sep 2009 09:10:34 -0500
Message-ID: <7e917c730909020710i2fc5afeence456eb5300f722@mail.gmail.com>
Subject: 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
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

I am running Windows 7, cygdrive 1.7.
After installation all files my files show up as 000 permissions.  I
have to chmod in order to modify files.

vince@Granada /cygdrive/f
$ ls -l
total 852
d---------+ 1 vince            None     4096 Aug 25 08:58 $RECYCLE.BIN
d---------+ 1 vince          None        0 Jul  6 17:58 Development
drwx------+ 1 vince          None     4096 Aug 31 22:49 Drop
----------+ 1 vince          None   132328 Sep  2 03:03 FTT.xml
drwx------+ 1 Administrators None     4096 Jul 22 20:36 Projects
d---rwx---+ 1 Administrators SYSTEM      0 May 24 09:39 System Volume
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  2 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

