Mail Archives: djgpp/1997/11/15/11:46:20
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 -