Permission Errors Freeze CLI

Đang mở
#395 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
15/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
powershell, python
Lĩnh vực
cli, cloud

Hướng nghiên cứu

Reproduce by running b2 sync from PowerShell on a local folder that contains a subfolder the user cannot read, such as AppData. The payload names only the command and a screenshot of the error, not the source files, so start by finding where the sync walks local directories and handles permission errors. Done means the sync reports the unreadable path and either skips it or exits, instead of freezing until the terminal is closed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hello,

I was directed here by BackBlaze Support to try to get some help with an issue we're having. We are trying to run a simple sync between the local PC and B2 Cloud using Windows command line or Powershell (issue occurring in both). Any time the our sync hits a file/folder that it does not have proper permission to, the CLI will freeze and not allow us to cancel the active command unless we close/reopen the CLI.

Here's what we have:
-Windows 10 64bit
-Python 3.6.3
-BackBlaze B2 Cloud

Here are the commands we're trying to run:

b2 authorize-account <account number> <key>
This works successfully.
b2 sync --keepDays 60 --replaceNewer "C:\Users\ncarlson\" "b2://BUCKET/ncarlson/"
As soon as the the sync hits a folder that it doesn't have perission to (usually the AppData folder since that's the first folder it attempts), it will give me a permission error and not continue.

We have tried some other more specific folders which have worked just fine but a lot of folders contain 1 or more files which the Sync tool doesn't like.

I've attached a screenshot of the errors we receive. Please let me know if you need any additional information.

powershell_ise_2017-12-07_08-37-49

Ngôn ngữ chính
Python
Star
638
Fork
138
Merge trung bình
8 giờ 27 phút
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Backblaze/B2_Command_Line_Tool

Tất cả issue của Backblaze/B2_Command_Line_Tool

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.