Hi,

Regarding the broken download of a composite datatype, as i have commented in https://trello.com/c/25OfmDa1, is due to the temporary folder permissions, where the archived composite datatype is store for download, are set to 0700 and is should be at least 0664, so that the web server can read its contents.

The change I've made on our local instance of Galaxy is the following:
(We are using galaxy-dist release_2013.02.08)

lib/galaxy/datatypes/data.py

@@ -215,19 +215,21 @@
                 if (params.do_action == 'zip'):
                     # Can't use mkstemp - the file must not exist first
                     tmpd = tempfile.mkdtemp()
-                    tmpf = os.path.join( tmpd, 'library_download.' + params.do_action )
+                    # Change permissions of temp folder
+                    os.chmod(tmpd, 0775) 
+                    tmpf = os.path.join(tmpd, 'library_download.' + params.do_action)

Kind regards,
Christos

--

Christos Kannas
Researcher
Ph.D Student 

e-Health Laboratory
kannas.christos@ucy.ac.cy
kannas.christos@cs.ucy.ac.cy
chriskannas@gmail.com 

Mob: (+357) 99530608