Unification au niveau des droits
darcs-hash:20041231222707-d1718-dbb154d6a2917da989a8a08a2d2f397f6810cf5b.gz
This commit is contained in:
parent
1abec4d73a
commit
68c90bc1a3
1 changed files with 5 additions and 1 deletions
|
@ -57,7 +57,7 @@ class MoinDump(_util.Script):
|
|||
"--regex", metavar="REGEX", dest="regex",
|
||||
help="Ne copie que les pages correspondant à cette regex"
|
||||
)
|
||||
|
||||
|
||||
|
||||
def mainloop(self):
|
||||
""" moin-dump's main code. """
|
||||
|
@ -169,6 +169,10 @@ class MoinDump(_util.Script):
|
|||
# On va copier les images
|
||||
os.system("rsync -r --delete /usr/share/moin/htdocs/rightsidebar/img %s/.." % outputdir)
|
||||
|
||||
# On finalise
|
||||
os.system('chmod -R a+r %s/..' % outputdir)
|
||||
os.system('find %s/.. -type d -exec chmod a+x {} \\;' % outputdir)
|
||||
|
||||
errlog.close()
|
||||
if errcnt:
|
||||
print >>sys.stderr, "*** %d error(s) occurred, see '%s'!" % (errcnt, errfile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue