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


On 09/02/2009 06:06 PM, Vince Indriolo wrote:
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.

As a non-domain user, you should be able to create a file in Windows and see that you have access to that file in Cygwin without modifications. Try this at a DOS prompt (and not in bash or other Cygwin shell):

echo foo > foo
ls -l foo

When I do this on my home machine where I'm working as a local user, I see:

-rwx------+ 1 lhall None 6 Sep 2 18:08 foo

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


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