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<magnus...@gmail.com> wrote: > Vince Indriolo <vinceind <at> gmail.com> writes: > >> There is definitely something not right with my setup. I have 64-bit >> Windows 7 >> >> e:\>echo foo > foo >> e:\>c:\cygwin\bin\ls.exe -l foo >> ----------+ 1 vince None 6 Sep 2 17:28 foo >> >> $ ls -l foo >> ----------+ 1 vince None 6 Sep 2 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: 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