1.7: cygdrive files readonly by default

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Sep 2 22:16:00 GMT 2009


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



More information about the Cygwin mailing list