Skip to content

PowerShell.6.0.0-alpha18 - Update-Help cmdlet failes giving "Access Denied" error  #3506

Closed

Description

Steps to reproduce

update-help -force

Expected behavior

No errors

Actual behavior

update-help : Failed to update Help for the module(s) 'Microsoft.PowerShell.Archive, Microsoft.PowerShell.Core, Microsoft.PowerShell.Host, Microsoft.PowerShell.Management, Microsoft.PowerShell.Security, Microsoft.PowerShell.Utility, PackageManagement, PowerShellGet, PSReadLine' with UI culture(s) {en-US} : Access to the path '/opt/microsoft/powershell/6.0.0-alpha.18/en-US/Microsoft.PowerShell.Commands.Management.dll-Help.xml' is denied.

updatehelp_err_ 2017-04-07 10-12-41

Environment data

PS /home/maxt> cat /etc/issue
Ubuntu 16.04.2 LTS \n \l

> $PSVersionTable

Name                           Value                                                                                   
----                           -----                                                                                   
PSVersion                      6.0.0-alpha                                                                             
PSEdition                      Core                                                                                    
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
BuildVersion                   3.0.0.0                                                                                 
GitCommitId                    v6.0.0-alpha.18                                                                         
CLRVersion                                                                                                             
WSManStackVersion              3.0                                                                                     
PSRemotingProtocolVersion      2.3                                                                                     
SerializationVersion           1.1.0.1

Activity

  1. iSazonov commented on Apr 7, 2017

    @iSazonov
    Collaborator

    Maximo Trinidad (@MaximoTrinidad) Can you run with elevated rights?

  2. added
    Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a
    on Apr 7, 2017
  3. MaximoTrinidad commented on Apr 7, 2017

    @MaximoTrinidad
    Author

    Hi Ilya (@iSazonov) ,

    Let me try that! OK..

    It works!

    sudo powershell
    update-help -force

    Thanks,
    Max

  4. iSazonov commented on Apr 8, 2017

    @iSazonov
    Collaborator

    It would be good to make a more user-friendly message.

  5. SteveL-MSFT commented on Apr 11, 2017

    @SteveL-MSFT
    Member

    Fixing this should resolve the real issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.WG-Interactive-HelpSystemhelp infrastructure and formatting of help

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions