www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/15/11:46:20

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: group-oriented functions
Date: Sat, 15 Nov 1997 11:24:10 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Message-ID: <346D784A.9DF58501@LSTM.Ruhr-UNI-Bochum.De>
References: <199711150540 DOT AAA09868 AT delorie DOT com>
NNTP-Posting-Host: c64.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
Lines: 37
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

sl wrote:
> 
> Hi,
> 
>         What are all the group-oriented functions in DJGPP for? I'm going through the index of functions in
> libc and I came across commands similar/related to getegid(). What are these used for? I know they're not
> really used in DOS but what are they used for in other OSs?
> 
Giving access permissions to a bunch of people.
E.g., on my ftp/www server I belong to the group ftpadmin, 
so I can copy/remove files in the public ftp directory. Then, there
are also more people belonging to that group, so they can do the same.
So, a typical output from ls looks like
rwxrwxr-x   demmer   ftpadmin	djgpp/
rwxrwxr-x   klika    ftpadmin   tex/

This means I put up the djgpp directory, and user klika maintains
the tex directory. The rwxrwxr-x at the beginning of the lines 
shows the rights of the user/group/world as Read Write eXecute.
Execute means for a directory ``allowed to cd there''. 

The are in DJGPP to make porting of UNIX programs easier and
usually do nothing. 
-- 
Ciao
Tom

*************************************************************
* Thomas Demmer                                             *
* Lehrstuhl fuer Stroemungsmechanik                         *
* Ruhr-Uni-Bochum                                           *
* Universitaetsstr. 150                                     *
* D-44780  Bochum                                           *
* Tel: +49 234 700 6434                                     *
* Fax: +49 234 709 4162                                     *
* http://www.lstm.ruhr-uni-bochum.de/~demmer                *
*************************************************************

- Raw text -


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