Relative path to the build directory is treated like absolute
See original GitHub issueWhen using the command line:
python manage.py build report.views.RenderView --build-dir ./build
bakery tries to create the top level directory /build and fails because of permissions.
fs.errors.PermissionDenied: permission denied mkdir: ./build: No such file or directory
It should instead create it in the current directory because there is a dot in front.
Is this by design?
It is not something that one cannot get around, but when using singularity and some workflow systems (nextflow), using absolute paths may become messy, as you’re working with isolated directories.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Relative path to the build directory is treated like absolute · Issue ...
When using the command line: python manage.py build report.views.RenderView --build-dir ./build bakery tries to create the top level directory /build and ...
Read more >Relative and absolute paths, in the file system and on the web ...
If the path is built starting from the system root, it is called absolute. · If the path is built starting from the...
Read more >Paths explained: Absolute, relative, UNC, and URL—Help
A path is a slash-separated list of directory names followed by either a directory name or a file name. A directory is the...
Read more >Convert relative path to absolute path or the cmake command ...
What is the way to convert the relative path set in INPUT_DIR variable to the absolute path that would equally work for out...
Read more >243170 – Relative include paths should be relative to source file
Markus, it appears that relative path is treated now (after your patch) only as from the source file's base folder. However, it should...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ClaudiuCreanga, would you be interested in developing a patch to solve this problem?
I would think these:
Can’t think of anything else.