Skip to content
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

PermissionError: [Errno 13] Permission denied: '/toshiba4/tmp/2019-08-20T15_28_19.316202xdu463of' #11

Open
sentry-io bot opened this issue Aug 20, 2019 · 0 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Aug 20, 2019

DICOMTransit needs to use a better place to put temporary files. At least, publicly available.

Sentry Issue: DICOMTRANSIT-28

PermissionError: [Errno 13] Permission denied: '/toshiba4/tmp/2019-08-20T15_28_19.316202xdu463of'
(8 additional frame(s) were not displayed)
...
  File "transitions/core.py", line 1005, in callback
    func(*event_data.args, **event_data.kwargs)
  File "fsm.py", line 828, in UnpackNewData
    temporary_folder = orthanc.API.unpack_subject_zip(self.DICOM_zip)
  File "orthanc/API.py", line 116, in unpack_subject_zip
    folder = tempfile.TemporaryDirectory(prefix=unique_name(), dir=temp_folder)
  File "tempfile.py", line 931, in __init__
    self.name = mkdtemp(suffix, prefix, dir)
  File "tempfile.py", line 509, in mkdtemp
    _os.mkdir(file, 0o700)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant