aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-03-07 22:53:11 -0500
committerRalph Amissah <ralph@amissah.com>2013-03-07 22:53:11 -0500
commitc6d43f001f7749f33c207d261e5ce7515f98d0de (patch)
treed6bd6716bf4c4c2645c94329ce4a24ae44114d72 /lib
parentv4: version & changelog (diff)
v4: share_src, sisu source, permissions, make world readable when shared
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v4/share_src.rb4
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]/