Issue 1076467: test_shutil fails on x86-64 // Suse 9.1 (original) (raw)

Created on 2004-12-01 02:45 by rossgbaker2, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_shutil.log rossgbaker2,2004-12-01 02:45 test_shutil.py log
Messages (7)
msg23403 - (view) Author: Ross G Baker Jr (rossgbaker2) Date: 2004-12-01 02:45
Here is the log of the single failing test: attached
msg23404 - (view) Author: Michal Čihař (nijel) * Date: 2004-12-01 15:11
Logged In: YES user_id=192186 Same happends on i386
msg23405 - (view) Author: Pierre (pierre42) Date: 2004-12-01 21:35
Logged In: YES user_id=512388 Same here.
msg23406 - (view) Author: Michal Čihař (nijel) * Date: 2004-12-02 11:57
Logged In: YES user_id=192186 This failure happens only when testing as root, because then permissions don't have usual meaning, when testing as user, it works fine.
msg23407 - (view) Author: Edward C. Jones (edcjones) Date: 2004-12-04 17:47
Logged In: YES user_id=58796 I am having the same problem with Mandrake 10.1. I have an AMD chip with at least a i686 architecture. My Mandrake 10.1 is set at security level 3. In the past (RedHat, Gentoo), I have installed programs from source as follows: 1. su to root. 2. Copy the tar ball (.tgz, .tar.gz, or .tar.bz2) into /usr/local/src. 3. Expand the tar ball. 4. cd to the top directory of the new source tree. 5. Follow the directions given there. For Mandrake 10.1, this process failed when installing Python 2.4. The failure occured during "make test" in test_shutil.py with the same error message as above in this thread. Nigel said above that "This failure happens only when testing as root, because then permissions don't have usual meaning". Have the meaning of the root permissions changed? What do the root permissions now mean? Is this documented somewhere?
msg23408 - (view) Author: Michal Čihař (nijel) * Date: 2004-12-04 21:05
Logged In: YES user_id=192186 I meant, that as root you can do anything regardless actual file permissions: as root: # mkdir test # touch test/file # chmod 400 test # ll -d test dr-------- 2 root root 4096 2004-12-04 22:00 test # rm -rf test # as user: $ mkdir test $ touch test/file $ chmod 400 test $ ll -d test dr-------- 2 michal michal 4096 2004-12-04 22:05 test $ rm -rf test rm: cannot chdir from `.' to `test': Permission denied $
msg23409 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2004-12-06 21:22
Logged In: YES user_id=469548 Fixed by not running this test when running as root. Checked in on both HEAD and release24-maint.
History
Date User Action Args
2022-04-11 14:56:08 admin set github: 41255
2004-12-01 02:45:38 rossgbaker2 create