Wine Problem

I’m getting an error message: “Could not initialize storage. You do not have permission to write to the destination path.”

Anyone had this problem before? How do I change the file attribs within Wine?

Thanks.

> I’m getting an error message: “Could not initialize storage. You do not
> have permission to write to the destination path.”
>
> Anyone had this problem before? How do I change the file attribs
> within Wine?

Not within WINE. But within SUSE/Linux.

Because, the user using WINE (by starting a Windows program) must be able to
read/write to the storage spot (distant machine, local harddrive, directory,
file…whatever) that that the Windows program needs/wants/expects to use.

So, just change the permissions for that storage site, just like you would for
anyother linux directory/partition/etc. See?

I think. (Do not actually know since I never use WINE or Windows).

Ok, I understand about the permissions, but I haven’t found a way to change the permissions of folders within .wine. Dolphin can’t and gets the same permission error. I suspect nothing outside of Wine can change them.

Did you run wineconfig/winecfg as root or as normal user?
When winecfg/wineconfig is run for the first time a hidden folder is created into the home folder: “home/user/.wine”.
That folder is keeping your user’s wine configuration and installation.

I have run winecfg and winefile as root and can’t find where either gives me the option to change permissions on folders within .wine. Neither does anything outside of wine.

Hi
Why are you running wine as root user? Or did you run wine in your home
directory and root owns your /home/username/.wine folder?

For example this is my wine directory;


ls -la /home/malcolml/.wine
total 508
drwxr-xr-x  4 malcolml users   4096 2008-10-09 20:19 .
drwxr-xr-x 92 malcolml users   4096 2008-10-16 12:41 ..
drwxr-xr-x  2 malcolml users   4096 2008-08-30 22:28 dosdevices
drwxr-xr-x  5 malcolml users   4096 2008-09-25 09:53 drive_c
-rw-r--r--  1 malcolml users 454990 2008-10-09 20:19 system.reg
-rw-r--r--  1 malcolml users     11 2008-08-17 15:54 .update-timestamp
-rw-r--r--  1 malcolml users   2422 2008-10-09 20:16 userdef.reg
-rw-r--r--  1 malcolml users  30034 2008-10-09 20:19 user.reg


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 1 day 6:05, 3 users, load average: 0.04, 0.56, 0.53
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80

Well, I didn’t install as root, only tried to change the permissions as root because of a suggestion by another poster. When I do what you do, this is what I get:

scott@linux-sr5c:~/.wine/drive_c> dir
total 12
drwxr-xr-x 2 scott users 4096 2008-09-30 17:51 Logs
drwxr-xr-x 4 scott users 4096 2008-09-28 23:08 Program Files
drwxr-xr-x 11 scott users 4096 2008-09-28 23:45 windows
scott@linux-sr5c:~/.wine/drive_c> cd Pro*
scott@linux-sr5c:~/.wine/drive_c/Program Files> dir
total 8
drwxr-xr-x 4 scott users 4096 2008-09-28 23:16 Common Files
drwxr-xr-x 2 scott users 4096 2008-09-28 23:08 Internet Explorer
scott@linux-sr5c:~/.wine/drive_c/Program Files> cd Co*
scott@linux-sr5c:~/.wine/drive_c/Program Files/Common Files> dir
total 8
drwxr-xr-x 3 scott users 4096 2008-09-28 23:16 Blizzard Entertainment
drwxr-xr-x 12 scott users 4096 2008-10-16 07:46 World of Warcraft
scott@linux-sr5c:~/.wine/drive_c/Program Files/Common Files> dir
total 8
drwxr-xr-x 3 scott users 4096 2008-09-28 23:16 Blizzard Entertainment
drwxr-xr-x 12 scott users 4096 2008-10-16 07:46 World of Warcraft
scott@linux-sr5c:~/.wine/drive_c/Program Files/Common Files> cd Wo*
scott@linux-sr5c:~/.wine/drive_c/Program Files/Common Files/World of Warcraft> dir
total 2024028
-rwxr-xr-x 1 root root 1082000 2008-10-04 09:05 BackgroundDownloader.exe
-rw-r–r-- 1 scott users 0 2008-09-30 17:52 BackgroundDownloader.exe.temp
-rwxr-xr-x 1 scott users 1136224 2008-10-04 09:05 BNUpdate.exe
-rw-r–r-- 1 scott users 21377 2008-09-30 18:40 Burning Crusade InstallLog.html
drwxr-xr-x 3 scott users 4096 2008-09-30 19:51 Cache
drwxr-xr-x 55 scott users 4096 2008-10-12 15:14 Copy AddOns
drwxr-xr-x 3 scott users 4096 2008-09-30 19:51 Data
-rw-r–r-- 1 scott users 1039728 2008-09-30 18:59 dbghelp.dll
-rw-r–r-- 1 scott users 413696 2008-10-04 09:01 DivxDecoder.dll
drwxr-xr-x 2 scott users 4096 2008-10-14 06:26 Errors
-rw-r–r-- 1 scott users 372736 2008-09-30 18:05 ijl15.dll
drwxr-xr-x 3 scott users 4096 2008-10-13 17:07 Interface
drwxr-xr-x 2 scott users 4096 2008-09-28 23:10 Interface.20081004-085428
-rwxr-xr-x 1 root root 2421392 2008-10-04 09:05 Launcher.exe
-rw-r–r-- 1 scott users 0 2008-09-30 17:52 Launcher.exe.temp
drwxr-xr-x 2 scott users 4096 2008-10-13 17:07 Logs
-rw-r–r-- 1 scott users 43208 2008-09-30 19:50 Patch.html
-rw-r–r-- 1 scott users 0 2008-09-30 17:52 Patch.html.temp
-rw-r–r-- 1 scott users 804802 2008-09-30 19:50 Patch.txt
-rw-r–r-- 1 scott users 0 2008-09-30 17:52 Patch.txt.temp
-rw-r–r-- 1 scott users 88 2008-09-30 19:50 realmlist.wtf
-rw-r–r-- 1 scott users 0 2008-09-30 17:52 realmlist.wtf.temp
-rwxr-xr-x 1 scott users 881296 2008-09-30 19:50 Repair.exe
-rw-r–r-- 1 scott users 0 2008-09-30 17:52 Repair.exe.temp
-rw-r–r-- 1 root root 6163 2008-10-04 09:02 Repair.log
-rw-r–r-- 1 scott users 43780 2008-09-30 19:52 Scan.dll
-rw-r–r-- 1 scott users 0 2008-09-30 17:52 Scan.dll.temp
-rw-r–r-- 1 scott users 245408 2008-09-30 17:58 unicows.dll
drwxr-xr-x 4 root root 4096 2008-10-09 23:37 Updates
-rw-r–r-- 1 scott users 16826 2008-09-28 23:36 World of Warcraft Install Log.html
-rwxr-xr-x 1 scott users 799763 2008-09-29 21:23 WoW-1.12.0-enUS-downloader.exe
-rwxr-xr-x 1 scott users 524288 2008-09-29 21:30 WoW-1.12.0-enUS-patch.exe
drwxr-xr-x 3 scott users 4096 2008-09-29 22:53 WoW-1.12.x-to-2.0.1-enUS-patch
-rwxr-xr-x 1 scott users 807252 2008-09-30 16:39 WoW-1.12.x-to-2.0.1-enUS-patch-downloader.exe
-rwxr-xr-x 1 scott users 985088 2008-09-30 19:18 WoW-2.3.0.7561-to-2.4.0.8089-enUS-downloader.exe
-rwxr-xr-x 1 scott users 275673456 2008-09-30 19:32 WoW-2.3.0.7561-to-2.4.0.8089-enUS-patch.exe
-rwxr-xr-x 1 scott users 1021000 2008-09-30 18:41 WoW-2.3.0-enUS-downloader.exe
-rwxr-xr-x 1 scott users 748476920 2008-09-30 18:59 WoW-2.3.0-enUS-patch.exe
-rwxr-xr-x 1 scott users 964448 2008-09-30 19:39 WoW-2.4.0.8089-to-2.4.1.8125-enUS-downloader.exe
-rwxr-xr-x 1 scott users 5188160 2008-09-30 17:52 WoW-2.4.0.8089-to-2.4.1.8125-enUS-patch.exe
-rwxr-xr-x 1 scott users 1033022 2008-09-30 17:01 WoW-2.4.0-enUS-downloader.exe
-rwxr-xr-x 1 scott users 968606383 2008-09-30 17:16 WoW-2.4.0-enUS-patch.exe
-rwxr-xr-x 1 scott users 965264 2008-09-30 19:45 WoW-2.4.1.8125-to-2.4.2.8278-enUS-downloader.exe
-rwxr-xr-x 1 scott users 15803224 2008-09-30 19:46 WoW-2.4.1.8125-to-2.4.2.8278-enUS-patch.exe
-rwxr-xr-x 1 scott users 1072744 2008-09-30 19:49 WoW-2.4.2.8278-to-2.4.3.8606-enUS-downloader.exe
-rwxr-xr-x 1 scott users 28589672 2008-09-30 19:50 WoW-2.4.2.8278-to-2.4.3.8606-enUS-patch.exe
-rwxr-xr-x 1 scott users 1415640 2008-10-16 07:46 WoW-2.4.3-to-3.0.2-enUS-Win-Final-downloader.exe
-rwxr-xr-x 1 scott users 221328 2008-09-30 19:50 WowError.exe
-rw-r–r-- 1 scott users 0 2008-09-30 17:52 WowError.exe.temp
-rwxr-xr-x 1 scott users 8272528 2008-10-04 09:01 Wow.exe
-rw-r–r-- 1 scott users 0 2008-09-30 17:52 Wow.exe.temp
-rw-r–r-- 1 scott users 1416358 2008-10-16 07:46 wow-patch.MPQ

Hi
So, I’m guessing there are a couple of programs/directories owned by
root that should really be owned by you;

I would just cd to the directory and fix the permissions with a sudo
command eg;


sudo chown scott:users BackgroundDownloader.exe

To run your applications, use the full path eg;


wine "full path to file/name of executable.exe"


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 1 day 7:00, 3 users, load average: 0.04, 0.07, 0.11
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80

@bangorme
I would go in this way:
logon as scott user, run winecfg/winefiles and than I will install all the based MS Windows Application under wine, WITHOUT using root account. After that I would just delete the the .wine folder from root ~.
This will prevent you for future issues related to permissions and will provide for you a new, fresh wine configuration.

Change to your home directory and enter the following:

sudo chown --recursive scott:users /home/scott/.wine

That changes the owner:group of all files in the .wine subdirectory. If that fails, you can just delete the .wine directory and create a new one.

If I recreate the .wine directory, do I have to reinstall WOW? That is a huge reinstallation.

Thanks for the help.