changeset 2957:e5767baade43

set perms on upload
author hanwen <hanwen@lilypond.org>
date Mon, 04 Dec 2006 12:19:47 +0100
parents b4c2808ff5f5
children f4fcd2f4f222
files lilypondorg.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lilypondorg.py	Sun Dec 03 19:15:44 2006 +0100
+++ b/lilypondorg.py	Mon Dec 04 12:19:47 2006 +0100
@@ -74,7 +74,9 @@
 #        branch = 'stable-%d.%d' % (version[0], version[1])
 
     src_dests = []
-    cmds = []
+    cmds = ['chgrp -R lilypond uploads/',
+            "chmod -R  g+rw uploads/",
+            'chmod 4775 `find uploads -type d`']
 
     ## ugh: 24 is hardcoded in repository.py
     committish = repo.git_pipe ('describe --abbrev=24 %(branch)s' % locals ()).strip ()
@@ -138,6 +140,7 @@
     d['cwd'] = os.getcwd ()
     d['lilybuild'] = d['cwd'] + '/target/%(build_platform)s/build/lilypond-%(branch)s' % d
     d['lilysrc'] = d['cwd'] + '/target/%(build_platform)s/src/lilypond-%(branch)s' % d 
+
     
     test_cmd = r'''python %(cwd)s/test-lily/rsync-lily-doc.py \
   --upload %(host_doc_spec)s \