[SOLVED]Winetricks permissions

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED]Winetricks permissions

Postby kirkkaf13 » Jan 3rd, '14, 04:50

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.
Last edited by kirkkaf13 on Jan 6th, '14, 04:55, edited 2 times in total.
kirkkaf13
 
Posts: 23
Joined: Dec 16th, '13, 15:29

Re: Winetricks permissions

Postby jkerr82508 » Jan 3rd, '14, 12:30

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
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest