PDA

View Full Version : WINE isn't creating directories...



spiney_norm
May 14th, 2009, 02:27 PM
I just installed WINE and running winecfg gives me this:


err:process:init_windows_dirs directory L"C:\\windows" could not be created, error 5
err:process:init_windows_dirs directory L"C:\\windows\\system32" could not be created, error 3
err:process:init_windows_dirs directory L"C:\\windows" could not be created, error 5
err:process:init_windows_dirs directory L"C:\\windows\\system32" could not be created, error 3
err:wineboot:main Cannot set the dir to L"C:\\windows" (2)
err:process:init_windows_dirs directory L"C:\\windows" could not be created, error 5
err:process:init_windows_dirs directory L"C:\\windows\\system32" could not be created, error 3
err:process:init_windows_dirs directory L"C:\\windows" could not be created, error 5
err:process:init_windows_dirs directory L"C:\\windows\\system32" could not be created, error 3
err:process:init_windows_dirs directory L"C:\\windows" could not be created, error 5
err:process:init_windows_dirs directory L"C:\\windows\\system32" could not be created, error 3

If anyone knows how to help, or can direct me to where I can get help, it would be greatly appreciated.

Edit: ran

mv ~/.wine{,.backup}
wineprefixcreate

and it works now. Fallout here i come!

hikaricore
May 14th, 2009, 02:45 PM
You didn't do something stupid like run WINE with sudo did you?

Run this:

sudo chown username:username -R ~/.wine

Replacing username with your actual username.

spiney_norm
May 14th, 2009, 03:16 PM
I installed wine forever ago and may have done that then. But I fixed my problems so no worries.