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: [ -w filename ] returns true when permissions are -r--r--r--


On 7/21/2011 2:37 PM, Larry Hall (Cygwin) wrote:
On 7/21/2011 5:13 PM, Nellis, Kenneth wrote:
From: Corinna Vinschen
On Jul 21 07:43, Nellis, Kenneth wrote:
FWIW, I'm not running as administrator and I'm running 1.7.9, and I'm
seeing the same thing:
What system?  XP, Vista?  7?
What's the output of `id'?

$ /usr/lib/csih/winProductName
Microsoft Windows XP Professional Service Pack 3 (build 2600)
$ id
uid=12779(knellis) gid=10545(knellis) groups=10545(knellis),0(root),544(Administrators),545(Users)
$ uname -r
1.7.9(0.237/5/3)
$


cygcheck -svr output attached

Thanks. Are you doing the above steps from a directory on your C or D drive? If D, is it an internal drive to that machine? If not, can you tell us the kind of drive it is and send the results of /usr/lib/csih/getVolInfo.exe /cygdrive/d to the list. If you don't have getVolInfo, please install the csih package.
I'm seeing the exact same behavior. I see this on my C drive (I cd'ed to /tmp). The drive is:

Usscandrewdl:/usr/lib/csih/getVolInfo.exe /cygdrive/c
Device Type        : 7
Characteristics    : 20
Volume Name        : <>
Serial Number      : 2956864138
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 700ff
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK        : TRUE
  FILE_PERSISTENT_ACLS        : TRUE
  FILE_FILE_COMPRESSION       : TRUE
  FILE_VOLUME_QUOTAS          : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : TRUE
  FILE_SUPPORTS_REPARSE_POINTS: TRUE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS    : TRUE
  FILE_SUPPORTS_ENCRYPTION    : TRUE
  FILE_NAMED_STREAMS          : TRUE
  FILE_READ_ONLY_VOLUME       : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE


-- Andrew DeFaria <http://defaria.com> Why can we shop in a store but we can't store in a shop?


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