From c6d43f001f7749f33c207d261e5ce7515f98d0de Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 7 Mar 2013 22:53:11 -0500 Subject: v4: share_src, sisu source, permissions, make world readable when shared --- data/doc/sisu/CHANGELOG_v4 | 2 ++ lib/sisu/v4/share_src.rb | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/data/doc/sisu/CHANGELOG_v4 b/data/doc/sisu/CHANGELOG_v4 index f43eaaba..2ef62c1d 100644 --- a/data/doc/sisu/CHANGELOG_v4 +++ b/data/doc/sisu/CHANGELOG_v4 @@ -28,6 +28,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_4.0.12.orig.tar.xz sisu_4.0.12.orig.tar.xz sisu_4.0.12-1.dsc +* v4: share_src, sisu source, permissions, make world readable when shared + %% 4.0.11.orig.tar.xz (2013-03-06:09/3) http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/sisu_4.0.11 http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/debian/sisu_4.0.11-1 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]/ -- cgit v1.2.3