snakemake / snakemake/snakemake

Permission issue when caching directories

Open
#307 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
2.9k
Forks
656
Avg merge
4d 12h
Merged PRs (30d)
9

Description

It looks like snakemake 5.13.0 has issues caching whole directories.
When performing a rule whose output-directory is to be cached snakemake fails.
It shows that the output directory actually got moved to the cache-directory but it is not possible to access it. This is due to a missing execution permission.

Adding the missing permission manually allows the workflow to move on.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with Snakemake 5.13.0 using a rule whose output is a cached directory, then inspect the directory after it is moved into the cache. Confirm that the cached output remains accessible without manually adding execute permission.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.