delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/02/18:06:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 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: <4A9EE630.1040903@cygwin.com>
References: <7e917c730909020710i2fc5afeence456eb5300f722 AT mail DOT gmail DOT com> <7e917c730909021430j65d0bee9h5e7091e9dd82c065 AT mail DOT gmail DOT com> <4A9EE630 DOT 1040903 AT cygwin DOT com>
Date: Wed, 2 Sep 2009 17:06:42 -0500
Message-ID: <7e917c730909021506w2480f5fctaace18f6d93bbb0a@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

Thanks, Larry.  What I mean by external file is a file created by
Windows (not created in the cygwin environment).  Files that are
writable in windows appear to be readonly (000) in the bash shell.  I
assume that because they're owned by me I can chmod them to modify
them.

On Wed, Sep 2, 2009 at 4:40 PM, Larry Hall
(Cygwin)<reply-to-list-only-lh AT cygwin DOT com> wrote:
> On 09/02/2009 05:30 PM, Vince Indriolo wrote:
>>
>> Is there a setting or issue that would result in all externally
>> generated files in an NTFS filesystem to have 000 permissions? =A0New
>> files created in the shell appear to have the correct mask. =A0However,
>> I need to chmod every external file I want to modify.
>
> If the SIDs for the files don't match any of the current user on the
> current system, then the POSIX permissions will be set to 000. =A0So I
> believe the question is, what does it mean to "externally" generate the
> files?
>
>> Also, is it intended for my user account to have its primary group be
>> 'None'?
>
> Yes. =A0This seems to be a favorite group of Windows. ;-)
>
>> I am using cygwin 1.7 on Windows 7 Ultimate. =A0Should I be running in
>> compatibility mode? =A0Should I install as administrator?
>
> I believe I installed with "Run as Administrator" on my W7 Ultamite home
> install, which has "None" as my primary group and where I don't see the
> problem you do. =A0On the work machine, it's W7 Enterprise, though I don't
> think that's significant.
>
> --
> Larry Hall =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0htt=
p://www.rfk.com
> RFK Partners, Inc. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(508) 893-9=
779 - RFK Office
> 216 Dalton Rd. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(508) 8=
93-9889 - FAX
> Holliston, MA 01746
>
> _____________________________________________________________________
>
> A: Yes.
>> Q: Are you sure?
>>> A: Because it reverses the logical flow of conversation.
>>>> Q: Why is top posting annoying in email?
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>
>

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