X-Spam-Check-By: sourceware.org Date: Tue, 21 Mar 2006 17:37:01 +0100 (MET) From: Angelo Graziosi To: cygwin AT cygwin DOT com Subject: Testing snapshots Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/