conan
conan copied to clipboard
[bug] Misleading error messages with permissions issues in virtual repositories
I have a virtual repository which passes through to one local and one remote repository. There have been a few times where I get baffling error messages due to permissions issues.
- I was trying to download a recipe. I would list the available recipes and it would show as available. But when i tried to download it it would say it didn't exist. I think the issue was that the latest recipe wasn't in the remote cache, and the user had only read permissions. Pulling it would add it to the cache, thereby altering the cache...so it denied it. That's my guess at least.
- I had similar things where the permissions were ok on the virtual repository itself, but maybe not on of the constituent repositories, with similar results...an error message saying the recipe didn't exist etc.
I apologize that I don't have a detailed reproduction, but hopefully this is enough to go on.
- [X] I've read the CONTRIBUTING guide.
Hi!
This is more a question for the Artifactory team, but I think in the remote repositories, the user would need the Deploy/ Cache permissions to be able to populate the remote cache. Otherwise, this might happen.