mkdir in C

e89hse at rigel.efd.lth.se e89hse at rigel.efd.lth.se
Tue May 29 13:41:48 AEST 1990


 I'd like to know if there is any way for a C-program to create a directory.
The mkdir(2) call doesn't exist on the machine I'm using. It is possible to
create a directory with the mknod(2) call, but then you have to have
effective-user-id 0 (super user). Of course one could set the substitute user
flag, but isn't there a more elegant way to do it.

 Henrik Sandell



More information about the Comp.unix.questions mailing list