Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-Id: <3.0.5.32.20030826205355.00819d20@incoming.verizon.net>
X-Sender: vze1u1tg@incoming.verizon.net
Date: Tue, 26 Aug 2003 20:53:55 -0400
To: cygwin@cygwin.com
From: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>
Subject: RE: Failing to delete files that is hold by makegroup
In-Reply-To: <Pine.GSO.4.56.0308260754010.601@slinky.cs.nyu.edu>
References: <5AC9A01A8B1175418B4DF7F45DD94D5F1E5364@srvexch1.nanoteq.co.za>
 <5AC9A01A8B1175418B4DF7F45DD94D5F1E5364@srvexch1.nanoteq.co.za>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 07:59 AM 8/26/2003 -0400, Igor Pechtchanski wrote:
>Johan,
>
>Well, for one, why not use "rm -rf" instead?  I'm not at all sure the -d
>flag is even implemented on Cygwin.
>
>Also, the value "mkgroup_l_d" for your group means that your /etc/group
>doesn't contain the group of the file owner.  Please make sure it's up to
>date (see <http://cygwin.com/cygwin-ug-net/ntsec.html>).

Hmm, having mkgroup_l_d will never cause any problem of this type.
Let me set the record straight.

mkgroup_l_d  *IS*  the group name in the /etc/group file, although
it is not the Windows group name (which was unknown at postinstall time).
The user has 100% functionality and can e.g. ssh or telnet to the
local machine and use cron. 
The main reason to run mk{passwd,group} -ld is aesthetic:
OTHER domain users and groups are unknown and ls -l might display ??????? 

In contrast when the group name is mkpasswd or mkgroup, the relevant 
file is indeed incomplete. Still, there should NOT be any problem running
programs from a shell but it will be impossible to use services
that setuid, such as sshd, telnetd, crond, etc...

Pierre


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

