Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • U umobj
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • staffstaff
  • umobj
  • Issues
  • #40
Closed
Open
Issue created May 03, 2016 by Ghost User@ghostContributor

syncobj recursive directory handling

We may not be properly creating multiple levels of folder hierarchies when syncing data from S3.

(env)[rleimens@rhel7umdev umobj]$ bin/syncobj -r rleimens: /tmp/
100% |#######################################################################################################|
100% |#######################################################################################################|
100% |#######################################################################################################|
100% |#######################################################################################################|
Traceback (most recent call last):                                                                           |
  File "bin/syncobj", line 95, in <module>
    args.multipart, True)
  File "/srv/code/umobj_clean/umobj/umobj/transfer.py", line 136, in obj_download
    download_file(key, filename)
  File "/srv/code/umobj_clean/umobj/umobj/transfer.py", line 86, in download_file
    os.makedirs(filename)
  File "/srv/code/umobj_clean/env/lib64/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
<type 'type'>: [Errno 20] Not a directory: '/tmp/ldapreps/test/'
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking