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' not finding owner/group of some files created by other user


This is a weird one.

If I use a non-cygwin program such as 'edit' or 'ntemacs' to create a file
under userA, say 'test', then when I list under user A, I get as expected:
-rwxr--r--+ 1 userA None 0 2009-11-14 19:00 test*

However, when I list under userB (who is non-privileged), I get:
-rwxr--r--+ 1 ???????? ???????? 0 2009-11-14 19:00 test*

Now if under userA, I do something seemingly innocuous, say: chmod u+r test
which doesn't even change any permissions (nor ACL's for that matter), the
listing under userB is now correct.

This doesn't happen when I create files in bash directly say by using
'touch'.


Also the ACL for the file is nothing weird for that matter:
# owner: userA
# group: None
user::rwx
group::---
group:SYSTEM:rwx
mask:rwx
other:---

And 'traverse files' is on.

What is going on here?






-- 
View this message in context: http://old.nabble.com/%27ls%27-not-finding-owner-group-of-some-files-created-by-other-user-tp26355135p26355135.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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