Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!munnari.oz.au!metro!ipso!runxtsa!brucee From: brucee@runxtsa.runx.oz.au (Bruce Evans) Newsgroups: comp.os.minix Subject: Re: minix test 21 Message-ID: <2199@runxtsa.runx.oz.au> Date: 26 Aug 90 07:00:42 GMT References: <1990Aug24.163254.8597@msuinfo.cl.msu.edu> Organization: RUNX Unix Timeshare. Sydney, Australia. Lines: 23 In article <1990Aug24.163254.8597@msuinfo.cl.msu.edu> mb@eecae.msu.edu (Micheal L. Bernson) writes: >the system panics in test21. > >If I run just test21 then I get a message "subtest 1 error=91 errno=13" >This error message is cause by rename return the wrong error code when >the system tries to rename a directory. The wrong error code is probably OK. The bug in test21. It tries to rename the current directory somewhere/test to something unreasonable, expecting an error code corresponding to `unreasonable'. It gets an error code for lack of write permissions in `somewhere'. There used to be similar problems with the test directory itself before its permissions were kludged to 777. However, nothing is known about the permissions of the directory above the test directory. The problem usually only shows up when test21 is run by root. Root's permissions are too strong, so the program switches to uid 2 (usually bin). This often loses write permission on the directory above test. All the tests should build their own work directories in /tmp or /usr/tmp, and give them suitable permissions. -- Bruce Evans Internet: brucee@runxtsa.runx.oz.au UUCP: uunet!runxtsa.runx.oz.au!brucee (My other address (evans@ditsyda.oz.au) no longer works)