Permissions not created correctly for test data files

Bug #324689 reported by sbennett
2
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
High
Monty Taylor

Bug Description

Permissions are not created correctly for test data files. Typically they will have a RW for the buildbot user but nothing for the rest of the users/groups on the machine.

This can be resolved with:

chmod 755 $HOME/slave/build*/build/tests/std_data
chmod 644 $HOME/slave/build*/build/tests/std_data/{*.txt,*.dat}

but ideally these permissions would be set upon fetching the files from bzr or as part of the test script bootstrapping, perhaps.

With these permissions not set correctly, it seems all the build slaves are failing test consistently.
See here: http://build.drizzleproject.org/builders/ubuntu810.64.1/builds/69/steps/test/logs/stdio

Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :
Changed in drizzle:
assignee: nobody → mordred
importance: Undecided → High
milestone: none → cirrus
status: New → Confirmed
Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

=== modified file 'tests/test-run.pl'
--- tests/test-run.pl 2009-04-08 06:40:24 +0000
+++ tests/test-run.pl 2009-04-10 17:39:51 +0000
@@ -1751,6 +1751,7 @@
     unlink($name);
   }
   system("chmod -R ugo+r $opt_vardir");
+ system("chmod -R ugo+r $opt_vardir/std_data_ln/*");
 }

Changed in drizzle:
status: Confirmed → Fix Committed
Changed in drizzle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.