X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 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: References: <7e917c730909020710i2fc5afeence456eb5300f722 AT mail DOT gmail DOT com> <7e917c730909021430j65d0bee9h5e7091e9dd82c065 AT mail DOT gmail DOT com> <4A9EE630 DOT 1040903 AT cygwin DOT com> <7e917c730909021506w2480f5fctaace18f6d93bbb0a AT mail DOT gmail DOT com> <4A9EEE62 DOT 5020305 AT cygwin DOT com> <7e917c730909021555k2176db54i139898c1ce2d8cd4 AT mail DOT gmail DOT com> Date: Thu, 3 Sep 2009 10:38:07 -0500 Message-ID: <7e917c730909030838s65762371g49be06d2c67f84de@mail.gmail.com> Subject: Re: 1.7: cygdrive files readonly by default From: Vince Indriolo To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Interesting, the location of the file seems to matter. On E:\ $ ls -l foo ----------+ 1 vince None 6 Sep 3 10:27 foo $ ls -l .\\foo -rw-r--r-- 1 vince None 6 Sep 3 10:27 .\foo For a file on my desktop: $ ls -l foo -rwx------+ 1 vince None 6 Sep 3 10:28 foo $ ls -l .\\foo -rw-r--r-- 1 vince None 6 Sep 3 10:28 .\foo Directory permissions $ ls -l | grep Desktop drwx------+ 1 vince None 8192 Sep 3 09:52 Desktop $ ls -l /cygdrive/ d---------+ 1 ???????? ???????? 8192 Sep 1 11:56 c drwx------+ 1 SYSTEM SYSTEM 4096 Sep 2 17:28 e On Thu, Sep 3, 2009 at 3:56 AM, Magnus Holmgren wrote: > Vince Indriolo gmail.com> writes: > >> There is definitely something not right with my setup. =A0I have 64-bit = Windows 7 >> >> e:\>echo foo > foo >> e:\>c:\cygwin\bin\ls.exe -l foo >> ----------+ 1 vince None 6 Sep =A02 17:28 foo >> >> $ ls -l foo >> ----------+ 1 vince None 6 Sep =A02 17:28 foo > > Interesting. The other day I noticed the same problem on Windows Vista > (32 and 64 bit), when unpacking archives (e.g., when not using the > Cygwin version of 7-zip). > > Interesting... When I list the files using a DOS path (say, > 'ls -l foo\\bar' instead of 'ls -l foo/bar'), they do get proper > permissions. :) > > > -- > 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