home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!mimsy!nmrdc1!frmug!elrond
- From: elrond@frmug.fr.mugnet.org (Bertrand Petit)
- Newsgroups: comp.os.minix
- Subject: Re: Help, I can ONLY EVER create directories when logged in as root, why?
- Message-ID: <1992Jul25.121908.19975@frmug.fr.mugnet.org>
- Date: 25 Jul 92 12:19:08 GMT
- References: <10sis-c@massey.ac.nz> <1992Jul12.114039.1003@frmug.fr.mugnet.org> <45170@unlisys.in-berlin.de>
- Organization: Minix User Group France
- Lines: 33
-
- In article <45170@unlisys.in-berlin.de> 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.
- >>>
- >>>When logged in as a normal user, I can't create directories anywhere,
- >>>even in a subdirectory to which I have 777 rights. It's strange, I
- >>>can create files in all the expected directories but I can't create
- >>>subdirectories.
- >
- >> 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. Maybe
- >Bertrand can give us any further details, e.g. what mkdir says, or doesn't
- >it print out anything?
-
- mkdir use mknod to create directorys but mknod can only be used if
- you have an uid eual to zero if i renember well. I can confirm this because
- i have no book nor man at this place. I sounds me correct to give a suid root
- to mkdir in order to alow the creation of directories but mkdir should
- check the w permisions.
-
-
- --
- | Bertrand Petit | Signature is under construction |
- | alias | |
- | >Elrond le demi-Elfe< | Be sure to wear your helmet |
-