Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Date: Mon, 13 Sep 1999 23:29:18 +0200 (MET DST) From: Joerg Schilling Message-Id: <199909132129.XAA25648@fokus.gmd.de> To: cgf AT cygnus DOT com, corinna AT vinschen DOT de Cc: cygwin-developers AT sourceware DOT cygnus DOT com, dj AT delorie DOT com Subject: Re: POSIX and uid_t resp. gid_t >From cygwin-developers-return-695-schilling=fokus DOT gmd DOT de AT sourceware DOT cygnus DOT com Mon Sep 13 23:24:25 1999 >From: Chris Faylor >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;" UNIX-98 is not very clear, but at least all data types listed together with uid_t are integrat types (mandatory). >> >>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. Solaris implements ACL's for some years too. To get information see docs.sun.com Jörg EMail:joerg AT schily DOT isdn DOT cs DOT tu-berlin DOT de (home) Jörg Schilling D-13353 Berlin js AT cs DOT tu-berlin DOT de (uni) If you don't have iso-8859-1 schilling AT fokus DOT gmd DOT de (work) chars I am J"org Schilling URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix