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

When deleting packages from the builtin package feed (Manually or due to repository retention policies) the package deletion is assumed however not checked #6720

Open
5 tasks done
danefalvo opened this issue Jan 4, 2021 · 0 comments
Labels
area/core feature/packaging kind/bug This issue represents a verified problem we are committed to solving size/small ~1 day

Comments

@danefalvo
Copy link

Prerequisites

  • I have verified the problem exists in the latest version
  • I have searched open and closed issues to make sure it isn't already reported
  • I have written a descriptive issue title
  • I have linked the original source of this report
  • I have tagged the issue appropriately (area/*, kind/bug, tag/regression?)

The bug

If the account that runs the Octopus Service does not have the required access to delete a package, all indications from within the Octopus GUI will show that the Package has been removed, however the package remains and will re-appear in the Octopus GUI after the next re-index.

What I expected to happen

An alert or notice if the permissions don't exist or if the package fails to get removed.

Steps to reproduce

  1. Upload a package
  2. Change the permissions on one of the Package folders - if this is a default installation then:
    Navigate to C:\Octopus<Instance>\Packages\Spaces-1\feeds-builtin\PackageName -> Open Properties
  3. Remove the modify property on the service account that currently runs the octopus service. There may be a number of permissions that you will need to alter (i.e. Creator Owner & Administrators).
  4. Apply permissions
  5. Delete the package manually from the Octopus GUI Package Repo

Screen capture

HeyWorld1
2.
HeyWorld2
3.
HeyWorld3
4.
HeyWorld4

Retention Policies
HeyWorld5

Affected versions

Octopus Server: 2020.5.3

Workarounds

Only Manually identifiable.

Links

https://octopus.zendesk.com/agent/tickets/61951

@danefalvo danefalvo added the kind/bug This issue represents a verified problem we are committed to solving label Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core feature/packaging kind/bug This issue represents a verified problem we are committed to solving size/small ~1 day
Projects
None yet
Development

No branches or pull requests

2 participants