-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
application tries to performa administrative action (create folder in root filesystem) #245
Comments
See #229 There's a fix in the queue that'll let Truvari help prevent it from happening, but the user-side solution is to ensure that the |
Thanks for reply. sorry i missed the workaround I still believe you should look at "your" code so this should not be necessary. mkdir("/tmpIkFtle", 0700) = -1 EACCES (Permission denied) /tmpIkFtle -> /tmp/IkFtle |
I appreciate the extra information. But looking into it I still don't have a full truvari side fix. There's only two places inside truvari's core code where a directory is made and they're both based on user parameters. The issue lies somewhere inside of our call to In response to the last ticket on this issue, I changed the call to As an example, I have a python script that simply runs:
And when I run it with a TMPDIR set to e.g.
And, to your point, when I unset TMPDIR and update the
And if I run it with
This last test case is extra frustrating because I have read/write permissions for all of |
Okay, so rubber ducking in the above comment got me thinking... if bcftools.sort is having a problem with See 04d5feb Thanks for the help! |
Thanks for followup. I am sorry if it sounded like i dont appreciate your work with this application. I totally respect your skills and work. I am not a hardcore developer. Keep up the good work. |
Version : 4.3.1
Use
truvari version
to get the version you're using. If the version ends in*-dev
, report thegit show-ref --hash HEAD
of the repository you're working on.Describe the bug :
running the software results in
/APPLICATIONPATH/bin/python3.11: Permission denied: Unknown error 1469086800
the users have full read and execute permission
with strace we notice the application tries to create a folder on the root file system. looks like a / is missing
mkdir("/tmpIkFtle", 0700) = -1 EACCES (Permission denied)
FYI users does not have administrator permission on our shared HPC setup
A clear and concise description of what the bug is.
To Reproduce :
Steps/Commands to reproduce the behavior with stdout/stderr log lines when reasonable/necessary.
truvari bench -b truth.vcf.gz -c compare.vcf.gz -o output --pctseq 0 --typeignore --includebed tier1.bed
Expected behavior :
A clear and concise description of what you expected to happen.
the application not to fail. we have earlier releases which works fine. the problem has started with this newest release
Example Data :
If applicable/possible, add example data to help recreate your problem.
Additional context :
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: