Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!unmvax!bbx!cocktrice!mdm From: mdm@cocktrice.uucp (Mike Mitchell) Newsgroups: comp.os.minix Subject: FS bug? Message-ID: <1990Dec21.003030.4379@cocktrice.uucp> Date: 21 Dec 90 00:30:30 GMT Organization: Mike's Playground, Santa Fe, New Mexico Lines: 27 After having installed Bruce Evan's patches for 386/Minix, I have noticed one problem. I think that this may be a generic problem with either fs or mm, however I have not yet found the offending code. I have been attempting to install uupc; I desired to have all executables in /bin and /usr/bin protected in such a manner that only the execute bit is on. I changed the mode of all files to reflect the fact that group and world read/write bits had been removed. login cannot exec /bin/sh when it has been changed to 511; this makes it impossible for a user account to be created and used. When I changed the protections of /bin/sh to 555, login was able to exec the shell and allow the user to login. When the login had succeeded in execing a copy of /bin/sh the next problem to crop up was 'ls: cannot execute'. By changing the mode of ls from 511 to 555, it began to work. Having files readable by group and world is defeats the purpose of having the execute bit the only one set. I would really like to keep user accounts from being able to access the binaries. What am I doing incorrectly? Is there a patch to fix this? Thank you very much for your time and effort. -- Mike Mitchell Mail: ...!uunet!dmk3b1!cocktrice!mdm 2020 Calle Lorca #43 Phone: (505) 471-7639 H Santa Fe, New Mexico 87505 (505) 473-4482 W