获取远程 rsync 仓库的路径

发布于 2024-07-09 01:32:57 字数 141 浏览 6 评论 0原文

我知道如果您在 rsync

rsync some.domain.com::

中运行,它将返回给我 rsync 软件仓库的列表。 有什么方法可以让它返回仓库的详细信息,特别是路径。

谢谢

I know if you run in rsync

rsync some.domain.com::

It will return me a list of the rsync depots. Is there any way of getting it to return the details of the depot, the path specifically.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

提笔落墨 2024-07-16 01:32:57

不,rsyncd 经过专门设计,不会泄露模块的物理路径。 现在,如果您具有 rsyncd 服务器的 shell 访问权限,则可以阅读 /etc/rsyncd.conf 来获取该信息。

(但是,如果 use chroot 设置关闭,可能有一些方法可以利用 rsyncd 来显示路径。不过,请不要引用我的话。)

No, rsyncd is specifically designed not to reveal the physical path of the modules. Now, if you have shell access to the rsyncd server, you can read /etc/rsyncd.conf for that information.

(But, there may be ways to exploit rsyncd to reveal the path, if the use chroot setting is off. Don't quote me on that, though.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文