[ARVADOS] updated: 1.1.2-154-g5857ebe

Git user git at public.curoverse.com
Wed Jan 31 14:35:27 EST 2018


Summary of changes:
 services/crunch-run/crunchrun.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  5857ebe3b0e512d76871020f1b08d49a9f4de70b (commit)
      from  06237272c9c8b3bfefe00308b2749c8df823ebdf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 5857ebe3b0e512d76871020f1b08d49a9f4de70b
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Wed Jan 31 14:34:26 2018 -0500

    Writable staged files/dirs need to be 0777 to match outdir mode.  refs #12764
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/services/crunch-run/crunchrun.go b/services/crunch-run/crunchrun.go
index 0582e54..1895701 100644
--- a/services/crunch-run/crunchrun.go
+++ b/services/crunch-run/crunchrun.go
@@ -338,7 +338,7 @@ func copyfile(src string, dst string) (err error) {
 		return
 	}
 
-	os.MkdirAll(path.Dir(dst), 0770)
+	os.MkdirAll(path.Dir(dst), 0777)
 
 	dstfile, err := os.Create(dst)
 	if err != nil {
@@ -590,7 +590,7 @@ func (runner *ContainerRunner) SetupMounts() (err error) {
 				if walkinfo.Mode().IsRegular() {
 					return copyfile(walkpath, path.Join(cp.bind, walkpath[len(cp.src):]))
 				} else if walkinfo.Mode().IsDir() {
-					return os.MkdirAll(path.Join(cp.bind, walkpath[len(cp.src):]), 0770)
+					return os.MkdirAll(path.Join(cp.bind, walkpath[len(cp.src):]), 0777)
 				} else {
 					return fmt.Errorf("Source %q is not a regular file or directory", cp.src)
 				}

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list