This is the mail archive of the
cygwin
mailing list for the Cygwin project.
discrepancy btw. Cygwin 32 & 64 wrt file permissions
- From: Will Parsons <varro at nodomain dot invalid>
- To: cygwin at cygwin dot com
- Date: Thu, 5 Mar 2015 22:49:28 +0000 (UTC)
- Subject: discrepancy btw. Cygwin 32 & 64 wrt file permissions
- Authentication-results: sourceware.org; auth=none
- Reply-to: gyliamos at gmail dot com
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?
--
Will
--
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