Page 1 of 1

[SOLVED]Winetricks permissions

PostPosted: Jan 3rd, '14, 04:50
by kirkkaf13
Hello all,

I have been attempting to install a game using Wine, I did some searching and found out I need to install some additional dll's using winetricks. Now I am getting some kind of permission error:

Note: command 'mkdir -p /home/kirkkaf/.cache/winetricks/vcrun6' returned status 1. Aborting.


After further searches I located a post that said winetricks has to be run without root access and all preceeding folders need to have the correct permission of my user account. So I "chowned" a couple of folders and the winetricks script and proceeded back to the home folder which had the permissions of root.

Would I be correct in saying that home is always root? I am still very new to linux and probably should read up more on how it works. If you have used winetricks before what might be causing this error?

Please let me know if any further information is required.

[kirkkaf@localhost Program Files]$ ls -al $HOME/.cache/winetricks
total 8
drwxr-xr-x 2 root root 4096 Jan 3 02:15 ./
drwx------ 5 kirkkaf kirkkaf 4096 Jan 3 02:15 ../


Thank you.

Re: Winetricks permissions

PostPosted: Jan 3rd, '14, 12:30
by jkerr82508
Looks as though your ~/.cache folder is owned by root (probably as a consequence of trying to run winetricks as root). $HOME and everything in it should be owned by your user.

$HOME == /home/kirkkaf is your personal home folder and is owned by you
/home/ contains the home folders of all users and is owned by root

Compare the results of these two commands:
Code: Select all
ll $HOME
ll /home

Jim