This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]