delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/31/03:06:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B8F379A.DB35B2CE@try.gov.hk>
Date: Fri, 31 Aug 2001 15:07:06 +0800
From: Ada BUT <support2 AT try DOT gov DOT hk>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem in using telnet (inetutils-1.3.2-14)

Hello,

I've found that the problem is due to the change of primary group of the
user from 513(None) to a new group added through NT.  When I change back
the primary group to 513, the problem of uid can be solved.

However, I would like to define different primary groups and assign a
primary group to each user, so that when a user touch a new file, the
group ownership will be its primary group instead of 'None'.   How can I
do this?

Furthermore, if I created a file owned by user1 with mode set to 700:

user1 AT TRYNAS01 ~
$ ls -l
-rwx------    1 user1  group1            0 Aug 31 14:56 a

I login as another user and try to remove the file, it success.

user2 AT TRYNAS01 /home/user1
$ rm a
rm: remove write-protected file `a'? y

I have export CYGWIN=ntsec before creating the file, is there any
settting I am missing?

Thanks,
Ada.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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