public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite
@ 2004-05-17 20:00 jbeulich at novell dot com
  2004-05-18 16:06 ` [Bug libstdc++/15488] " bkoz at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: jbeulich at novell dot com @ 2004-05-17 20:00 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
@ 2004-05-18 16:06 ` bkoz at gcc dot gnu dot org
  2004-05-19 11:16 ` cvs-commit at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-05-18 16:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-05-18 01:18 -------

Same with this. Send it in as a patch: it looks like it may indeed be a bug,
depending on how the originating sources are assigned permissions.

-benjamin

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
  2004-05-18 16:06 ` [Bug libstdc++/15488] " bkoz at gcc dot gnu dot org
@ 2004-05-19 11:16 ` cvs-commit at gcc dot gnu dot org
  2004-05-20 23:38 ` cvs-commit at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-05-19 11:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-05-18 18:42 -------
Subject: Bug 15488

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bkoz@gcc.gnu.org	2004-05-18 18:42:28

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/scripts: create_testsuite_files 
	libstdc++-v3/testsuite/lib: libstdc++.exp 

Log message:
	2004-05-18  Jan Beulich  <jbeulich@novell.com>
	
	PR libstdc++/15489
	* scripts/create_testsuite_files: Also find source files through
	symbolic links.
	
	2004-05-18  Jan Beulich  <jbeulich@novell.com>
	
	PR libstdc++/15488
	* testsuite/lib/libstdc++.exp: Make test files writable.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.2482&r2=1.2483
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/scripts/create_testsuite_files.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/lib/libstdc++.exp.diff?cvsroot=gcc&r1=1.20&r2=1.21



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
  2004-05-18 16:06 ` [Bug libstdc++/15488] " bkoz at gcc dot gnu dot org
  2004-05-19 11:16 ` cvs-commit at gcc dot gnu dot org
@ 2004-05-20 23:38 ` cvs-commit at gcc dot gnu dot org
  2004-05-20 23:48 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-05-20 23:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-05-19 23:36 -------
Subject: Bug 15488

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	bkoz@gcc.gnu.org	2004-05-19 23:36:39

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/scripts: create_testsuite_files 
	libstdc++-v3/testsuite/lib: libstdc++.exp 

Log message:
	2004-05-19  Jan Beulich  <jbeulich@novell.com>
	
	PR libstdc++/15489
	* scripts/create_testsuite_files: Also find source files through
	symbolic links.
	
	2004-05-19  Jan Beulich  <jbeulich@novell.com>
	
	PR libstdc++/15488
	* testsuite/lib/libstdc++.exp: Make test files writable.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2224.2.108&r2=1.2224.2.109
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/scripts/create_testsuite_files.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1&r2=1.1.22.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/lib/libstdc++.exp.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.15.4.3&r2=1.15.4.4



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
                   ` (2 preceding siblings ...)
  2004-05-20 23:38 ` cvs-commit at gcc dot gnu dot org
@ 2004-05-20 23:48 ` pinskia at gcc dot gnu dot org
  2004-07-12 12:36 ` jbeulich at novell dot com
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-20 23:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-19 23:51 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
                   ` (4 preceding siblings ...)
  2004-07-12 12:36 ` jbeulich at novell dot com
@ 2004-07-12 12:36 ` jbeulich at novell dot com
  2004-07-12 14:28 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jbeulich at novell dot com @ 2004-07-12 12:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jbeulich at novell dot com  2004-07-12 12:35 -------
This isn't really fixed. The change to use remote_download in v3-copy-files made
this patch unnecessary, and the way it was applied it actually became
counter-productive since other than the submitted patch the one applied changes
the mode of the source files (in the source tree, that is) rather than that of
the destination files. If the user running the testsuite doesn't have sufficient
rights to do so, the whole testsuite run now fails.
In the light of all that, the patch simply needs to be backed out in both
mainline and 3_4-branch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
      Known to fail|                            |3.4.1 3.5.0
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
                   ` (3 preceding siblings ...)
  2004-05-20 23:48 ` pinskia at gcc dot gnu dot org
@ 2004-07-12 12:36 ` jbeulich at novell dot com
  2004-07-12 12:36 ` jbeulich at novell dot com
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jbeulich at novell dot com @ 2004-07-12 12:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.4.0                       |3.4.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
                   ` (5 preceding siblings ...)
  2004-07-12 12:36 ` jbeulich at novell dot com
@ 2004-07-12 14:28 ` pinskia at gcc dot gnu dot org
  2004-07-19 23:11 ` cvs-commit at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12 14:28 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.1                       |---


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
                   ` (6 preceding siblings ...)
  2004-07-12 14:28 ` pinskia at gcc dot gnu dot org
@ 2004-07-19 23:11 ` cvs-commit at gcc dot gnu dot org
  2004-07-19 23:12 ` bkoz at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-19 23:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-19 23:11 -------
Subject: Bug 15488

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bkoz@gcc.gnu.org	2004-07-19 23:11:03

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/testsuite/lib: libstdc++.exp 

Log message:
	2004-07-19  Benjamin Kosnik  <bkoz@redhat.com>
	
	PR libstdc++/15488
	* testsuite/lib/libstdc++.exp (v3-copy-files): Revert.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.2580&r2=1.2581
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/lib/libstdc++.exp.diff?cvsroot=gcc&r1=1.21&r2=1.22



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
                   ` (7 preceding siblings ...)
  2004-07-19 23:11 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-19 23:12 ` bkoz at gcc dot gnu dot org
  2004-07-19 23:35 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-07-19 23:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-07-19 23:12 -------
I'm reverting this patch on both branches:

PR libstdc++/15488

-benjamin

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
                   ` (8 preceding siblings ...)
  2004-07-19 23:12 ` bkoz at gcc dot gnu dot org
@ 2004-07-19 23:35 ` cvs-commit at gcc dot gnu dot org
  2004-07-20  0:16 ` bkoz at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-19 23:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-19 23:35 -------
Subject: Bug 15488

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	bkoz@gcc.gnu.org	2004-07-19 23:35:37

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/testsuite/lib: libstdc++.exp 

Log message:
	2004-07-19  Benjamin Kosnik  <bkoz@redhat.com>
	
	PR libstdc++/15488
	* testsuite/lib/libstdc++.exp (v3-copy-files): Revert.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2224.2.146&r2=1.2224.2.147
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/lib/libstdc++.exp.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.15.4.4&r2=1.15.4.5



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
                   ` (9 preceding siblings ...)
  2004-07-19 23:35 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-20  0:16 ` bkoz at gcc dot gnu dot org
  2004-07-20  8:52 ` jbeulich at novell dot com
  2004-07-20 14:43 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-07-20  0:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-07-20 00:16 -------

Can I close this?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
                   ` (10 preceding siblings ...)
  2004-07-20  0:16 ` bkoz at gcc dot gnu dot org
@ 2004-07-20  8:52 ` jbeulich at novell dot com
  2004-07-20 14:43 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: jbeulich at novell dot com @ 2004-07-20  8:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jbeulich at novell dot com  2004-07-20 08:52 -------
I believe so.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/15488] possibly insufficient file permissions for executing test suite
  2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
                   ` (11 preceding siblings ...)
  2004-07-20  8:52 ` jbeulich at novell dot com
@ 2004-07-20 14:43 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-20 14:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-20 14:43 -------
So closing as fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15488


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-07-20 14:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-17 20:00 [Bug libstdc++/15488] New: possibly insufficient file permissions for executing test suite jbeulich at novell dot com
2004-05-18 16:06 ` [Bug libstdc++/15488] " bkoz at gcc dot gnu dot org
2004-05-19 11:16 ` cvs-commit at gcc dot gnu dot org
2004-05-20 23:38 ` cvs-commit at gcc dot gnu dot org
2004-05-20 23:48 ` pinskia at gcc dot gnu dot org
2004-07-12 12:36 ` jbeulich at novell dot com
2004-07-12 12:36 ` jbeulich at novell dot com
2004-07-12 14:28 ` pinskia at gcc dot gnu dot org
2004-07-19 23:11 ` cvs-commit at gcc dot gnu dot org
2004-07-19 23:12 ` bkoz at gcc dot gnu dot org
2004-07-19 23:35 ` cvs-commit at gcc dot gnu dot org
2004-07-20  0:16 ` bkoz at gcc dot gnu dot org
2004-07-20  8:52 ` jbeulich at novell dot com
2004-07-20 14:43 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).