delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/02/10:10:50

X-Recipient: archive-cygwin AT delorie DOT 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 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-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

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 AT 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 AT 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

- Raw text -


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