delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/22/09:26:18

X-Spam-Check-By: sourceware.org
Date: Wed, 22 Mar 2006 15:25:51 +0100 (MET)
From: Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it>
To: cygwin AT cygwin DOT com
Subject: Testing snapshots - II
Message-ID: <Pine.OSF.4.21.0603221448350.17097-100000@ax0rm1.roma1.infn.it>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Beside this: http://cygwin.com/ml/cygwin/2006-03/msg00582.html, I note
that with recent snapshots (e.g 20060321), a file created by Cygwin
applications (emacs, wget, gcc...) or a directory creted by mkdir belongs
to the group 'None' indifferently if they are creted by Administrator or
by an user with NO-admin permmission (Users). This happens mainly from the
point of view of Windows. 

For example, if an Administrator:

   $ cd /tmp        (i.e. C:\cygwin\tmp)

   $ mkdir foo_dir

then on W2K SP4: 

    mouse-3 on foo_dir | Properties | Protection

shows that the protections for foo_dir are:

    Administrator
    None
    Creator Owner
    Everyone
    Creator Group

If instead is an user (Graziosi of group Users in W2K) to create foo_dir,
this has protections:

    Graziosi    (i.e. the user with no-admin. permissions)
    None
    Creator Owner
    Everyone
    Creator Group.

In similar way for the file foo_file.exe created by:

    gcc foo_file.c -o foo_file

the protections are:

   Administrator, None, Everyone       for the Administrator

   Graziosi, None, Everyone            for Graziosi




Using Cygwin 1.5.19-4 (or some older snapshots) the situation is
completely different:

foo_dir has protections

    Administrator
    Administrtors         <==
    Creator Owner
    Everyone
    Creator Group

for the Administrator;


    Graziosi    
    Users                 <==
    Creator Owner
    Everyone
    Creator Group.

for Graziosi.


Similar for file foo_file.exe (Administrator, Administrators,
Everyone; Graziosi, users, Everyone).

In conclusion the behaviour under Cygwin 1.5.19-4 recalls that under
linux, mainly in view of the fact that under W2K 

    Start | Settings | User and Password

shows that Administrator belongs to the group Administrators

while

           Graziosi      belongs to the group Users.





Best regards,

    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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019