delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/26/20:55:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <3.0.5.32.20030826205355.00819d20@incoming.verizon.net>
X-Sender: vze1u1tg AT incoming DOT verizon DOT net
Date: Tue, 26 Aug 2003 20:53:55 -0400
To: cygwin AT cygwin DOT com
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT 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 AT srvexch1 DOT nanoteq DOT co DOT za>
<5AC9A01A8B1175418B4DF7F45DD94D5F1E5364 AT srvexch1 DOT nanoteq DOT co DOT za>
Mime-Version: 1.0

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/

- Raw text -


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