Re: 'ls' not finding owner/group of some files created by other user

2009-11-16 Thread Corinna Vinschen
On Nov 16 10:33, aputerguy wrote: > > Corinna Vinschen writes: > > In that case, the problem probably occurs because userB has no > > permissions to read the file permissions. Cygwin's chmod creates a > > POSIX compatible ACL, which adds READ_CONTROL permissions for everyone. > > That seems to b

Re: 'ls' not finding owner/group of some files created by other user

2009-11-16 Thread aputerguy
Corinna Vinschen writes: > In that case, the problem probably occurs because userB has no > permissions to read the file permissions. Cygwin's chmod creates a > POSIX compatible ACL, which adds READ_CONTROL permissions for everyone. That seems to be the case here and would seem to explain it - t

Re: 'ls' not finding owner/group of some files created by other user

2009-11-16 Thread Corinna Vinschen
On Nov 16 04:41, aputerguy wrote: > > Corinna Vinschen writes: > > It means it doesn't know the SIDs. They don't show up in /etc/passwd > > and /etc/group. > > BUT THEY DO! And they must since why else would doing a trivial 'chmod' > (that doesn't change anything) all of a sudden make them show

Re: 'ls' not finding owner/group of some files created by other user

2009-11-16 Thread aputerguy
Corinna Vinschen writes: > It means it doesn't know the SIDs. They don't show up in /etc/passwd > and /etc/group. BUT THEY DO! And they must since why else would doing a trivial 'chmod' (that doesn't change anything) all of a sudden make them show up. $ subinacl /noverbose /nostatistic /file C:

Re: 'ls' not finding owner/group of some files created by other user

2009-11-16 Thread Corinna Vinschen
On Nov 15 08:48, aputerguy wrote: > > Jason DePriest wrote: > > Does 'ls -n' show the UIDs under both users? > > ls -n shows uid=gid=4294967295 which I believe is UINT_MAX (2^32-1), so this > is just -1. > > Maybe what's happening is that cygwin is returning an error (-1) here? It means it does

Re: 'ls' not finding owner/group of some files created by other user

2009-11-15 Thread aputerguy
Jason DePriest wrote: > Does 'ls -n' show the UIDs under both users? ls -n shows uid=gid=4294967295 which I believe is UINT_MAX (2^32-1), so this is just -1. Maybe what's happening is that cygwin is returning an error (-1) here? BTW I'm running cygwin 1.7 -- View this message in context: http

Re: 'ls' not finding owner/group of some files created by other user

2009-11-14 Thread DePriest, Jason R.
On Sat, Nov 14, 2009 at 6:11 PM, aputerguy <> wrote: > > 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,

Re: 'ls' not finding owner/group of some files created by other user

2009-11-14 Thread aputerguy
And the same thing occurs for directories created from Explorer. But again this problem doesn't occur for files or directories created within cygwin (e.g., touch, mkdir, cat >). -- View this message in context: http://old.nabble.com/%27ls%27-not-finding-owner-group-of-some-files-created-by-oth

Re: 'ls' not finding owner/group of some files created by other user

2009-11-14 Thread aputerguy
And also the parent directory has the following listing: drwxr-xr-x 1 userA Administrators 0 2009-11-14 19:10 -- View this message in context: http://old.nabble.com/%27ls%27-not-finding-owner-group-of-some-files-created-by-other-user-tp26355135p26355136.html Sent from the Cygwin list mailing lis