Skip to content

permission denied cannot open compressed file #41

@Dane-Z

Description

@Dane-Z

Hello, I have an issue setting up annotationHub for use in a VM. I am getting this error whenever I try to download a package from the hub using my R script:

snapshotDate(): 2022-10-31
Error in value[3L] : failed to create index
hubCache(): /usr/share/httpd/.cache/R/AnnotationHub
reason: cannot open the connection
Calls: ... tryCatch -> tryCatchList -> tryCatchOne ->
In addition: Warning message:
In gzfile(file, mode) :
cannot open compressed file '/usr/share/httpd/.cache/R/AnnotationHub/b797a59351bdd_b797a59351bdd_hub_index.rds', probable reason 'Permission denied'
Execution halted

I have enabled full access to .cache, R, and AnnotationHub directories and I'm still getting permission denied errors. Also, this .rds file does not exist within the AnnotationHub directory when list the directories contents. However, I've manually downloaded the hub object in R outside of the script and have been able to do that successfully. This is where the local cache so I'm not too sure why the .rds file is not showing up. Any suggestions or help would be greatly appreciated.

Best wishes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions