Skip to content

Commit

Permalink
set permissions to 777
Browse files Browse the repository at this point in the history
nonmem is a temporary executable for only babylon to run, but copying can cause permissions problems if not originally generated by sudo user. This will allow nonmem to execute fine.
  • Loading branch information
dpastoor committed Nov 22, 2017
1 parent 64d1294 commit 12880a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/cmd/bbq/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
)

// Version of bbq
const Version = "1.1.0"
const Version = "1.1.1"

var (
port int
Expand Down
2 changes: 1 addition & 1 deletion utils/setup_cache_for_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func SetupCacheForRun(
if debug {
log.Println("changing executable privileges for nonmem executable")
}
if err := os.Chmod(newFileLocation, 0755); err != nil {
if err := os.Chmod(newFileLocation, 0777); err != nil {
log.Println("error changing permissions of executable after copying from cache")
return (err)
}
Expand Down

0 comments on commit 12880a6

Please sign in to comment.