This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite
- From: "jbeulich at novell dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2004 08:20:11 -0000
- Subject: [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Since testsuite/lib/libstdc++.exp just copies over $srcdir/data/*.t[sx]t (which
in TCL appearantly implies copying permissions [but not owner/group]), the files
may all end up non-writable if the source tree was set so. I'd suggest
--- /usr/local/src/gcc-3.4.0/libstdc++-v3/testsuite/lib/libstdc++.exp 2004-03-18
18:38:09.000000000 +0100
+++ 3.4.0/libstdc++-v3/testsuite/lib/libstdc++.exp 2004-05-14 13:42:44.000000000
+0200
@@ -71,6 +71,8 @@
file copy -force $dirname/$symlink $dstdir
}
}
+ set basename [file tail $f]
+ file attributes $dstdir/$basename -permissions a+w
}
}
--
Summary: possibly insufficient file permissions for executing
test suite
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jbeulich at novell dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488