home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.minix
- Path: sparky!uunet!email!hp
- From: hp@vmars.tuwien.ac.at (Peter Holzer)
- Subject: Re: Help, I can ONLY EVER create directories when logged in as root, why?
- Message-ID: <1992Jul22.170538.28363@email.tuwien.ac.at>
- Sender: news@email.tuwien.ac.at
- Nntp-Posting-Host: quasi.vmars.tuwien.ac.at
- Organization: Technical University Vienna, Dept. for Realtime Systems, AUSTRIA
- References: <10sis-c@massey.ac.nz> <1992Jul12.114039.1003@frmug.fr.mugnet.org> <45170@unlisys.in-berlin.de>
- Date: Wed, 22 Jul 1992 17:05:38 GMT
- Lines: 29
-
- jac@unlisys.in-berlin.de (Joerg Conradt) writes:
-
- >elrond@frmug.fr.mugnet.org (Bertrand Petit) writes:
-
- >>In article <10sis-c@massey.ac.nz> G.Moretti@massey.ac.nz writes:
- >>>Hi
- >>>
- >>>I have a very peculiar problem with Minix 1.3. Using a boot disk that
- ^^^
- >>>I've created, I can only create directories when logged in as root.
- >>>
-
- >> Check the owner of your mkdir, it must be root so the u+s chmod can
- >>act as if you were logged as root.
-
- >This is on good, 'cause then any user will be allowed to create any directory
- >at any place! My /usr/bin/mkdir is NOT setuid-root and works well.
-
- Note that the poster was using Minix 1.3. The mkdir system call was not
- in Version 7 Unix and therefore not in Minix 1.1. A directory had to be
- created with mknod and link calls (to create . and ..), which had to be
- done by root. I don't know when mkdir was added to Minix, but I think
- it was after 1.3 (the 1.5 mkdir program still has a gratuituous access
- call in it to check the permissions for the real user id).
- --
- | _ | Peter J. Holzer | Think of it |
- | |_|_) | Technical University Vienna | as evolution |
- | | | | Dept. for Real-Time Systems | in action! |
- | __/ | hp@vmars.tuwien.ac.at | Tony Rand |
-