delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/09/13/17:24:35

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Mon, 13 Sep 1999 17:26:23 -0400
To: Corinna Vinschen <corinna AT vinschen DOT de>
Cc: DJ Delorie <dj AT delorie DOT com>, cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: POSIX and uid_t resp. gid_t
Message-ID: <19990913172623.A12699@cygnus.com>
Mail-Followup-To: Corinna Vinschen <corinna AT vinschen DOT de>,
DJ Delorie <dj AT delorie DOT com>,
cygwin-developers AT sourceware DOT cygnus DOT com
References: <37DD6791 DOT 44D0748A AT vinschen DOT de> <199909132105 DOT RAA22093 AT envy DOT delorie DOT com> <37DD6BB8 DOT 499E06A4 AT vinschen DOT de>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <37DD6BB8.499E06A4@vinschen.de>; from Corinna Vinschen on Mon, Sep 13, 1999 at 11:25:12PM +0200

On Mon, Sep 13, 1999 at 11:25:12PM +0200, Corinna Vinschen wrote:
>DJ Delorie wrote:
>> 
>> > How are the datatypes of uid_t and gid_t defined in POSIX?
>> 
>> "All of the types listed in Table 2-1 shall be arithmetic types;"
>
>Thanks for the fast reply.
>
>This isn't the answer, I hoped to get. The problem is, that in
>a WinNT environment an arithmetic type isn't enough to get
>the information of the user and the group of an object.
>The loose translation via /etc/passwd and /etc/group will
>never be able, to reflect the ownership of objects.
>
>My idea was, to change uid_t and gid_t to the SID datatype.
>The [fl]stat-calls would return complete ownership info.
>This would be transparent to applications which never do
>"id arithmetic" as e.g. ls(1).
>
>It's too bad...

I know that some Unixes have implemented access control lists.
If you want a model to follow that might be the way to go.
I know that Digital UNIX implements this, for instance.

-chris

- Raw text -


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