Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked frompoise/python

Commitda4cc8a

Browse files
guilhemSean OMeara
authored and
Sean OMeara
committed
[COOK-3796] Fix virtualenv when user hasn't right on parent directory
Signed-off-by: Sean OMeara <someara@opscode.com>
1 parentdde0fe9 commitda4cc8a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎providers/virtualenv.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ def whyrun_supported?
2828

2929
action:createdo
3030
unlessexists?
31+
directorynew_resource.pathdo
32+
usernew_resource.ownerifnew_resource.owner
33+
groupnew_resource.groupifnew_resource.group
34+
end
3135
Chef::Log.info("Creating virtualenv#{new_resource} at#{new_resource.path}")
3236
interpreter=new_resource.interpreter ?" --python=#{new_resource.interpreter}" :""
3337
execute"#{virtualenv_cmd}#{interpreter}#{new_resource.options}#{new_resource.path}"do

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp