I installed a fresh copy of Ubuntu 12 desktop then:
- Installed WINE from the Ubuntu Software Center.
- Installed WineTricks from the Ubuntu Software Center.
When I type the following commands in the terminal:
sudo winetricks dotnet40
I get this error message:
wine cmd.exe /c echo '%ProgramFiles%' returned empty string
If i try the command without sudo
winetricks dotnet40
The output is as follows
Executing w_do_call dotnet40
Executing load_dotnet40
------------------------------------------------------
dotnet40 does not yet fully work or install on wine. Caveat emptor.
------------------------------------------------------
Executing mkdir -p /home/vectoruser/.cache/winetricks/dotnet40
mkdir: cannot create directory `/home/vectoruser/.cache/winetricks/dotnet40': Permission denied
------------------------------------------------------
Note: command 'mkdir -p /home/vectoruser/.cache/winetricks/dotnet40' returned status 1. Aborting.
------------------------------------------------------
My current user is vectoruser which i use to logon to Ubuntu
The output of
ls -ld /home/vectoruser /home/vectoruser/.cache /home/vectoruser/.cache/winetricks
Gives:
drwxr-xr-x 32 vectoruser vectoruser 4096 Aug 2 19:26 /home/vectoruser
drwx------ 19 vectoruser vectoruser 4096 Aug 2 19:25 /home/vectoruser/.cache
drwxr-xr-x 2 root root 4096 Aug 2 18:09 /home/vectoruser/.cache/winetricks
ls -ld /home/vectoruser /home/vectoruser/.cache /home/vectoruser/.cache/winetricks
Also, please put the output (and the output ofwinetricks dotnet40
withoutsudo
from above) in your question. Please also tell whether or not the uservectoruser
is you (or that you don't know).