Skip to content

Downloader - Silently return no repos when incorrect permissions #6635

@PredaaA

Description

@PredaaA

What Red version are you using?

3.5.22

Cog name

Downloader

Command name

repo list or cog update

What did you expect to happen?

To list the repos available or update the cogs.
Or if the permissions are wrong, to send something or log it in the console.

What actually happened?

It returns "There are no repos installed." or "There were no cogs to check."

How can we reproduce this error?

  1. Change the owner of the repos folder. (Eg: chown debian:debian repos)
  2. Restart the bot.
  3. Use the repo list or cog update command.

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Category: Cogs - DownloaderThis is related to the Downloader cog.Status: PRs WelcomeNo one is currently assigned to this issue, but we'd be grateful if anyone made a PR.Type: BugUnexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions