Skip to content
Snippets Groups Projects
Commit 875a0901 authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

WS-121 ALMA MS downloads

parent 8722f3de
No related branches found
No related tags found
1 merge request!1217WS-121 ALMA MS downloads
Pipeline #8274 passed
Pipeline: workspaces

#8276

    ......@@ -46,6 +46,9 @@ class SharedWebDestination(DestinationDecorator):
    # we're ready to build the local destination and thread it through our super constructor
    super().__init__(LocalDestination(context, self.destination_dir))
    # Open permissions on the username dir for the group so both vlapipe and almapipe can make delivery dirs
    (pathlib.Path(capo.downloadDirectory) / username).chmod(0o2770)
    # generate the download URL for later usage
    self.download_url = f"{capo.downloadUrl}/{username}{'/'+ prefix if prefix else ''}/{context.token()}"
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment