Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors removing .chefdk folder on upgrade of ChefDK #116

Open
oifland opened this issue Mar 8, 2016 · 1 comment
Open

Errors removing .chefdk folder on upgrade of ChefDK #116

oifland opened this issue Mar 8, 2016 · 1 comment

Comments

@oifland
Copy link
Contributor

oifland commented Mar 8, 2016

When upgrading from ChefDK 0.11.0 to 0.11.2, I saw a bunch of messages like this:

Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32\acceptance\top-cookbooks\test_run\learn-the-basics-windows\.git\objects\pack\pack-da6e5ed061979ac3295ca2d3ad1f58f242f0d8
1f.idx: You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (pack-da6e5ed061...8f242f0d81f.idx:FileInfo) [Remove-Item], IOException

and then later

Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32\acceptance
\top-cookbooks\test_run\learn-the-basics-windows\.git\objects\pack cannot be removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (pack:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

It seems to be related to cleaning up the .chefdk folder.

@oifland
Copy link
Contributor Author

oifland commented Mar 8, 2016

Here's the full output:

Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32\a
cceptance\top-cookbooks\test_run\learn-the-basics-windows\.git\objects\pack\pack-da6e5ed061979ac3295ca2d3ad1f58f242f0d8
1f.idx: You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (pack-da6e5ed061...8f242f0d81f.idx:FileInfo) [Remove-Item], IOExceptio
   n
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32\a
cceptance\top-cookbooks\test_run\learn-the-basics-windows\.git\objects\pack\pack-da6e5ed061979ac3295ca2d3ad1f58f242f0d8
1f.pack: You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (pack-da6e5ed061...f242f0d81f.pack:FileInfo) [Remove-Item], IOExceptio
   n
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32\acceptance
\top-cookbooks\test_run\learn-the-basics-windows\.git\objects\pack cannot be removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (pack:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32\acceptance
\top-cookbooks\test_run\learn-the-basics-windows\.git\objects cannot be removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (objects:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32\acceptance
\top-cookbooks\test_run\learn-the-basics-windows\.git cannot be removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (.git:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32\acceptance
\top-cookbooks\test_run\learn-the-basics-windows cannot be removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (learn-the-basics-windows:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32\acceptance\top-cookbooks\test_run
cannot be removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (test_run:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32\acceptance\top-cookbooks cannot
be removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (top-cookbooks:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32\acceptance cannot be removed
because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (acceptance:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\chef-12.7.2-universal-mingw32 cannot be
removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (chef-12.7.2-universal-mingw32:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\bin\sow: You do not
have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (sow:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\bin cannot be removed
because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (bin:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\clean.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (clean.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\compiler.rb: You do not have sufficient
access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (compiler.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\debug.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (debug.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\deps.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (deps.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\flay.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (flay.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\flog.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (flog.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\gemcutter.rb: You do not have sufficient
access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (gemcutter.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\gem_prelude_sucks.rb: You do not have
sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (gem_prelude_sucks.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\inline.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (inline.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\newb.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (newb.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\package.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (package.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\publish.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (publish.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\racc.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (racc.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\rake.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (rake.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\rcov.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (rcov.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\rdoc.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (rdoc.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\signing.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (signing.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe\test.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (test.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe cannot be removed
because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (hoe:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib\hoe.rb: You do
not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (hoe.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\lib cannot be removed
because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (lib:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template\bin\file_name.erb: You do not have
sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (file_name.erb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template\bin cannot be
removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (bin:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template\lib\file_name.rb.erb: You do not have
sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (file_name.rb.erb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template\lib cannot be
removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (lib:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template\test\test_file_name.rb.erb: You do not have
sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (test_file_name.rb.erb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template\test cannot be
removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (test:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template\.autotest.erb: You do not have sufficient
access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (.autotest.erb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template\History.txt.erb: You do not have sufficient
access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (History.txt.erb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template\Manifest.txt.erb: You do not have
sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (Manifest.txt.erb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template\Rakefile.erb: You do not have sufficient
access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (Rakefile.erb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template\README.txt.erb: You do not have sufficient
access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (README.txt.erb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\template cannot be removed
because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (template:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\test\test_hoe.rb:
You do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (test_hoe.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\test\test_hoe_debug.rb: You do not have sufficient
access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (test_hoe_debug.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\test\test_hoe_gemcutter.rb: You do not have
sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (test_hoe_gemcutter.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\test\test_hoe_publish.rb: You do not have sufficient
access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (test_hoe_publish.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item
C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\test\test_hoe_test.rb: You do not have sufficient
access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (test_hoe_test.rb:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\test cannot be removed
because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (test:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\.autotest: You do
not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (.autotest:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\History.rdoc: You
do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (History.rdoc:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\Hoe.pdf: You do not
have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (Hoe.pdf:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\Manifest.txt: You
do not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (Manifest.txt:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\Rakefile: You do
not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (Rakefile:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1\README.rdoc: You do
not have sufficient access rights to perform this operation.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (README.rdoc:FileInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems\hoe-3.13.1 cannot be removed because it
is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (hoe-3.13.1:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0\gems cannot be removed because it is not
empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (gems:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby\2.1.0 cannot be removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (2.1.0:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem\ruby cannot be removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (ruby:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory C:\Users\...\AppData\Local\chefdk\gem cannot be removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (gem:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Directory C:\Users\...\AppData\Local\chefdk cannot be removed because it is not empty.
At line:110 char:7
+       Remove-Item -Recurse $dotChefDKDir
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\Users\...\AppData\Local\chefdk:DirectoryInfo) [Remove-Item], IOExceptio
   n
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

@oifland oifland closed this as completed Mar 8, 2016
@oifland oifland reopened this Mar 8, 2016
@MarkGibbons MarkGibbons added this to the 2.0 milestone Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@dougireton @oifland @MarkGibbons and others