Wine:<directory> 不属于您,拒绝在那里创建配置目录

Wine: <directory> not owned by you, refusing to create a configuration directory there

我正在尝试创建一个 wineprefix,以便我可以在我的 Ubuntu OS 上安装 IL-2 1946。我正在使用此资源:http://blogs.bu.edu/mhirsch/2012/07/making-wineprefixes-and-using-wineprefixes-wine-1-5/

我试图在其中创建前缀的目录是 ~/games/Il-2_1946 但是当我输入时:

env WINEPREFIX=~/games/IL-2_1946/.wine_il-2 winecfg

我收到以下错误:

wine: '/home/promitheas/games/IL-2_1946' is not owned by you, refusing to create a configuration directory there

我已经搜索了几个小时,但我找到的与我的问题最接近的线程是这个:http://ubuntuforums.org/archive/index.php/t-634075.html

我也已经有了 Star Wars The Old Republic 的 wineprefix,当我 运行 IL-2 setup.exe 和 wine 时,我得到这个错误:

wine: chdir to /home/promitheas/games/swtor/drive_c/Program Files/Electronic Arts/BioWare/Star Wars - The Old Republic/wineprefix

: 没有那个文件或目录

此外,游戏来自挂载的 .iso 文件。

如有任何帮助,我们将不胜感激。提前致谢。

我在 gentoo x64 中尝试创建 WINEPREFIX 时遇到了同样的错误。我做了什么:

$ rm ~username/.wine
$ WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg 

注意:不要在运行该命令之前手动创建目录;酒必须创造它。如果您在 运行 之前手动创建目录,您将收到消息:

$ wine: WINEARCH set to win32, but '/path/to/wineprefix' is a 64-bit installation.

进入超级用户模式,然后输入 winecfg。 例如,

$ sudo su

# winecfg