From afdf28c0b9921a4f20a64a6a249c39f43907ffad Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Wed, 4 Jul 2018 09:08:55 +0300 Subject: [PATCH] Access rights for binary repository files and dirs (#178) fix typo in chmod for all binary repository dirs and files --- BUILD/mdbci/copy_repos.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BUILD/mdbci/copy_repos.sh b/BUILD/mdbci/copy_repos.sh index 64430d6d6..12e25a6c6 100755 --- a/BUILD/mdbci/copy_repos.sh +++ b/BUILD/mdbci/copy_repos.sh @@ -11,8 +11,8 @@ if [ "$box_type" == "RPM" ] ; then mkdir -p $path_prefix/$platform/$platform_version/$arch/ rsync -avz --progress --delete ${unsorted_repo_dir}/$repo_name/$box/* $path_prefix/$platform/$platform_version/$arch/ env > $build_info_path - find $prefix_path/.. -type d -exec chmod 755 {} - find $prefix_path/.. -type f -exec chmod 644 {} + find $path_prefix/.. -type d -exec chmod 755 {} \; + find $path_prefix/.. -type f -exec chmod 644 {} \; cd $path_prefix/$platform ln -s $platform_version "$platform_version"server ln -s $platform_version "$platform_version"Server @@ -31,8 +31,8 @@ else mkdir -p $path_prefix/$platform_family/ rsync -avz --progress --delete ${unsorted_repo_dir}/$repo_name/$box/* $path_prefix/$platform_family/ env > $build_info_path - find $prefix_path/.. -type d -exec chmod 755 {} - find $prefix_path/.. -type f -exec chmod 644 {} + find $path_prefix/.. -type d -exec chmod 755 {} + find $path_prefix/.. -type f -exec chmod 644 {} eval "cat < /dev/null > ${path_prefix}/${platform}_${platform_version}.json