89luca89 / 89luca89/distrobox

When calling `distrobox assemble create` I get warning from find about `-name` and `-wholename`

未關閉
#1,754 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Go
星號
13k
分支
541
平均合併
20 小時 47 分鐘
30 天內合併 PR
4

描述

**Describe the bug**

When running `distrobox assemble create` I get this warning in the stderr:

```
find: pozor: ‘-name’ se porovnává pouze proti názvu souboru, avšak zadaný vzor obsahuje oddělovač adresáře (‘/’), tudíž výraz bude pokaždé vyhodnocen jako nepravdivý. Nemysleli jste ‘-wholename’?
```

Gemini says that it is the translation of the English warning message

```
"find: warning: ‘-name’ matches only the base of file names, so non-directories will never match the '-name' ‘/’ pattern. Did you mean ‘-wholename’?"
```

**To Reproduce**
I can just run `distrobox assemble create -n --file ~/.config/distrobox/distrobox.ini` (or even without the `-n` argument).

Unfortunately, the reproduction is unrealiable. So, for example, I am not able to collect proper `--verbose` log right now.

**Expected behavior**
No warning

**Logs**
Attach also the output of `podman logs` or `docker logs`, possibly with `--latest` flag

[distrobox-assemble-create-weechat-log.txt](https://github.com/user-attachments/files/20189064/distrobox-assemble-create-weechat-log.txt)

[podman-latest-log.txt](https://github.com/user-attachments/files/20189065/podman-latest-log.txt)

**Desktop (please complete the following information):**
- Are you using podman, docker or lilipod? podman-5.4.2-1.1.x86_64
- Which version of distrobox? distrobox-1.8.1.2-1.2.noarch
- Which host distribution? MicroOS/rolling distro as of 2025-05-12
- How did you install distrobox? package from openSUSE/Tumbleweed

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。