diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v4/share_src.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sisu/v4/share_src.rb b/lib/sisu/v4/share_src.rb index b767de0c..725ded35 100644 --- a/lib/sisu/v4/share_src.rb +++ b/lib/sisu/v4/share_src.rb @@ -82,6 +82,10 @@ module SiSU_Markup v=(@opt.cmd =~/M/) ? 'v' : '' system(%{ rsync -a#{v} #{@path_pod[:fnb]} #{@file.output_path.sisupod.dir} + cd #{@file.output_path.sisupod.dir} + for I in `find -type d` ; do chmod 755 $I ; done + for I in `find -type f` ; do chmod 644 $I ; done + cd - }) else SiSU_Screen::Ansi.new('',"#{@opt.fno} not available").blue_tab if @opt.cmd=~/[MVv]/ |