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]

Testing snapshots


With recent snapshots I note the following.

If I, as user 'Graziosi' with no admin. permission, create a file
'foo.txt' (for example with emacs) I can see:

$ ls -lrt foo.txt
-rw-r--r--  1 Graziosi Users          728 Mar 21 17:30 foo.txt
                        ^^^

If I, succesively, do a login as Administrator, then I see:

$ ls -lrt
-rw-r--r--  1 Graziosi Administrators 728 Mar 21 17:30 foo.txt  
                             ^^^

In Windows (W2K SP4) the user Graziosi has been created as 
 
    User Name      Group

     Graziosi       Users 

while Administrator has been created as 

   Administrator   Administrators

(this results from Start | Settings | Users and password)


In Cygwin I have

$ cat /etc/group
root:S-1-5-32-544:0:
SYSTEM:S-1-5-18:18:
Nessuno:S-1-5-21-220523388-842925246-854245398-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:

i.e. the original group file.


$ cat /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:544:U-GRAZIOSI-IRCI53\Administrator,S-1-5
-21-220523388-842925246-854245398-500:/home/Administrator:/bin/bash
ASPNET:unused_by_nt/2000/xp:1009:545:ASP.NET Machine
Account,U-GRAZIOSI-IRCI53\A
SPNET,S-1-5-21-220523388-842925246-854245398-1009:/home/ASPNET:/bin/bash
Graziosi:unused_by_nt/2000/xp:1000:545:Graziosi,U-GRAZIOSI-IRCI53\Graziosi,S-1-5
-21-220523388-842925246-854245398-1000:/home/Graziosi:/bin/bash
Guest:unused_by_nt/2000/xp:501:546:U-GRAZIOSI-IRCI53\Guest,S-1-5-21-220523388-84
2925246-854245398-501:/home/Guest:/bin/bash
VUSR_GRAZIOSI-IRCI53:unused_by_nt/2000/xp:1001:513:VSA Server
Account,U-GRAZIOSI
-IRCI53\VUSR_GRAZIOSI-IRCI53,S-1-5-21-220523388-842925246-854245398-1001:/home/V
USR_GRAZIOSI-IRCI53:/bin/bash


in which I changed only 

   513 --> 544 for Administrator
   513 --> 545 for Graziosi and ASPNET
   513 --> 546 for Guest



So, foo.txt belongs to 'Users' or 'Administrators' ?



This strange behaviour happens only with file created after the
installation of recent snapshots.

A file created previously as Users belongs to Users, indifferently if one
'see' (ls) it as simple user (of group Users) or Administrator (of group
Administrators).



Cheers,

  Angelo.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]