Reset owner after uploading manual

This commit is contained in:
Kovid Goyal 2016-01-07 16:25:13 +05:30
parent 77051cf145
commit e81938ae31

View File

@ -225,6 +225,7 @@ class UploadUserManual(Command): # {{{
for host in ('download', 'files'):
check_call(' '.join(['rsync', '-zrl', '--progress',
srcdir, '%s:/srv/manual/' % host]), shell=True)
check_call(('ssh %s chown -R http:http /srv/manual' % host).split())
# }}}
class UploadDemo(Command): # {{{