Hi, everyone, I have a question about installation winetricks unfixed, could anyone help me? Thanks! the problem is, when I install the winetricks, it can be downloaded but "length 147,533 (144K) [text/plain] winetricks: Permission denied can not write to ?winetricks?(Permission denied) aad at aad-desktop:/$ " Of course, I run at a root user, :(
On Wed, Mar 24, 2010 at 12:15 PM, 51movie <wineforum-user at winehq.org> wrote:> Hi, everyone, I have a question about installation winetricks unfixed, could anyone help me? > Thanks! > the problem is, when I install the winetricks, it can be downloaded but > > "length ?147,533 (144K) [text/plain] > winetricks: Permission denied > > can not write to ?winetricks?(Permission denied) > aad at aad-desktop:/$ > " > Of course, I run at a root user, ? :( >That is most likely your problem. Do not install winetricks as root or download it as root or install anything inside wine as root. John
[quote="Martin Gregorie"]On Wed, 2010-03-24 at 17:50 +0100, J4 wrote:> If you are running [winetricks] as root then you ought not to have a permission > denied ;) >Running winetricks as root probably won't give you the results you require or expect. The changes will go through to /root/.wine and not apply to $HOME/.wine at all. Running as sudo is even worse. The changes will apply to $HOME/.wine allright, but now the permissions will have changed to root on certain files in the user's home directory, making it so that the relevant settings can't be modified by that user in the future without the crutch of sudo. Then there is the sticky problem that anything running under wine as sudo will have full access to the system, including the ability to delete the entire drive. Such a thing can not be whole-heartedly recommended. http://wiki.winehq.org/FAQ#head-96bebfa287b4288974de0df23351f278b0d41014 http://wiki.winehq.org/FAQ#head-f60a1aeeb2e4ef08a9b26dd38fd4ea2b1608f358
Thank you for your kind reply. Fortunately i fix the problem. When i describe the problem i met, i forgot the enviroment: i have installed wine.The method is inspired by above friends. First i change the root user to ordinary user: su jame Owing to the installed wine, i found the installed path of wine: cd /home/jame/.wine under the wine directory, wget http://kegel.com/wine/winetricks --02:26:48-- http://www.kegel.com/wine/winetricks => `winetricks' c(??;: www.kegel.com... 211.99.99.xxx c(?? www.kegel.com|211.99.99.xxx|:80... ??? ??? HTTP ?Bc(I???... 200 OK ? 147,533 (144K) [text/plain] 100%[====================================>] 147,533 84.40K/s 02:26:50 (84.23 KB/s) - `winetricks' ???X [147533/147533] ... Thx all the kind friends!