Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
97fd7802
Commit
97fd7802
authored
Jun 11, 2015
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2211 from mitchellh/b-script-perms
provisioner/shell: uploaded script should be 0755 [GH-1708]
parents
33724d38
a995df35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
provisioner/shell/provisioner.go
provisioner/shell/provisioner.go
+2
-2
No files found.
provisioner/shell/provisioner.go
View file @
97fd7802
...
...
@@ -247,11 +247,11 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
}
cmd
=
&
packer
.
RemoteCmd
{
Command
:
fmt
.
Sprintf
(
"chmod 07
77
%s"
,
p
.
config
.
RemotePath
),
Command
:
fmt
.
Sprintf
(
"chmod 07
55
%s"
,
p
.
config
.
RemotePath
),
}
if
err
:=
comm
.
Start
(
cmd
);
err
!=
nil
{
return
fmt
.
Errorf
(
"Error chmodding script file to 07
77
in remote "
+
"Error chmodding script file to 07
55
in remote "
+
"machine: %s"
,
err
)
}
cmd
.
Wait
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment