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]

LS and TAR don't see any file permissions ("ls -l" shows "----------+ ...")


When running "ls -l" the permissions field shows as "----------+".
Oddly, "ls -l" shows the correct permissions if the pathname uses the
windows drive letter syntax. eg:

$ pwd
/cygdrive/c
$ ls -l tmp/plb.txt
----------+ 1 ga2binn Domain Users 5527 Mar ?3 13:54 tmp/plb.txt
$ ls -l c:/tmp/plb.txt
-rw-r--r-- 1 ga2binn Domain Users 5527 Mar ?3 13:54 c:/tmp/plb.txt

Similarly, TAR images have no permissions on the files contained. eg:

$ pwd
/cygdrive/c/tmp
$ tar cf - plb.txt | tar vtf -
---------- ga2binn/Domain Users 5527 2011-03-03 13:54 plb.txt

Even more oddly, this behaviour (both LS and TAR) occurs on a new PC
that I am moving to. I have the same version of Cygwin on an older PC
which does not have the problem. I have diffed the "cygcheck -s -v -r"
output from both PC's and can see nothing that would explain the broken
behaviour on the new PC.
Both PC's are running the same version of XP SP3.

I have also reinstalled Cygwin with the latest version (its cygcheck
attached).

Attachment: cygcheck-new.txt
Description: Text document

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