minio / mc

Unix like utilities for object store
https://min.io/download
GNU Affero General Public License v3.0
2.86k stars 548 forks source link

mc mirror abs path problem #4806

Closed zhujing3 closed 10 months ago

zhujing3 commented 10 months ago

Expected behavior

Keep using it the same way

Actual behavior

  1. create some dir/files on local image

  2. call mirror sync to bucket user1

image

  1. it's ok use abs path ,but when i touch a new file on local dir image

image

Why are relative paths used instead of absolute paths?

Steps to reproduce the behavior

mc --version

[root@dev203 ccc]# mc -version mc version RELEASE.2023-12-14T00-37-41Z (commit-id=8da737f8fd63de58dc475bf88eb9e285d206e3ae) Runtime: go1.21.5 linux/amd64 Copyright (c) 2015-2023 MinIO, Inc. License GNU AGPLv3 https://www.gnu.org/licenses/agpl-3.0.html [root@dev203 ccc]#

System information

MinIO Object Storage Server Copyright: 2015-2023 MinIO, Inc. License: GNU AGPLv3 https://www.gnu.org/licenses/agpl-3.0.html Version: RELEASE.2023-12-20T01-00-02Z (go1.21.5 linux/amd64)

shtripat commented 10 months ago

Resolved through https://github.com/minio/mc/pull/4807