This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7: cygdrive files readonly by default


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@cygwin.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? ?New
>> files created in the shell appear to have the correct mask. ?However,
>> 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. ?So 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. ?This seems to be a favorite group of Windows. ;-)
>
>> I am using cygwin 1.7 on Windows 7 Ultimate. ?Should I be running in
>> compatibility mode? ?Should 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. ?On the work machine, it's W7 Enterprise, though I don't
> think that's significant.
>
> --
> Larry Hall ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?http://www.rfk.com
> RFK Partners, Inc. ? ? ? ? ? ? ? ? ? ? ?(508) 893-9779 - RFK Office
> 216 Dalton Rd. ? ? ? ? ? ? ? ? ? ? ? ? ?(508) 893-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: ? ? ? http://cygwin.com/problems.html
> FAQ: ? ? ? ? ? ? ? ? ? http://cygwin.com/faq/
> Documentation: ? ? ? ? http://cygwin.com/docs.html
> Unsubscribe info: ? ? ?http://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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]