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: discrepancy btw. Cygwin 32 & 64 wrt file permissions


Greetings, Will Parsons!

> I've been using Cygwin for some time now, but recently decided to try
> a parallel installation of Cygwin 64 on the same machine.  I've
> noticed a strange discrepancy between how Cygwin 32 & 64 report file
> permissions:

> (32-bit)

> % uname -a
> CYGWIN_NT-6.1-WOW sothis 1.7.35(0.287/5/3) 2015-03-04 12:07 i686 Cygwin

> % touch x
> % chmod a-w x
> % ls -l x
> -r--r--r-- 1 william None 0 Mar  5 17:41 x
> % ls -ln x
> -r--r--r-- 1 197608 197121 0 Mar  5 17:41 x


> (64-bits)

> % uname -a
> CYGWIN_NT-6.1 sothis 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64 Cygwin

> % ls -l x
> -rw-r--r-- 1 william None 0 Mar  5 17:41 x
> % ls -ln x
> -rw-r--r-- 1 197608 197121 0 Mar  5 17:41 x


> Why does 64-bit Cygwin have a different idea of whether the file is
> writable? 

Because they get different mount options? That would've been my first guess.
I could be wrong, though.
Either way,

Problem reports:       http://cygwin.com/problems.html


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 06.03.2015, <06:00>

Sorry for my terrible english...


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