http://bugs.winehq.org/show_bug.cgi?id=17672
Summary: Wine denies access to Oracle Client install folder Product: Wine Version: 1.1.16 Platform: PC URL: http://www.oracle.com/technology/software/products/datab ase/oracle10g/htdocs/10201winsoft.html OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lineback@toastytech.com
When installing the Oracle DB Client Wine removes the permissions on the destination folder so it can not be read or written to.
I have been trying to see if I can get the installer for the Oracle 10gR2 ( Client to install under Wine on Ubuntu 8.04. (Available from here: http://www.oracle.com/technology/software/products/database/oracle10g/htdocs... ) The version 11 client also does the same thing.
I can get past the DirectDraw issue in bug#11877 and bug#17371 by running the setup program with the command line "setup -J-Dsun.java2d.noddraw=true"
But then when it starts the actual installation process of creating folders and copying files, it modifies the file permissions - in such a way that it can no longer write to the folder, and the installer logs the error and immediately exits. It should not set the permissions like that.
Under Windows the installer does change around the permissions on the folder, I think to ensure SYSTEM has full access.
Off hand, I have not found a work around because even when I use a mounted FAT partition the installer under Wine thinks it can still set the permissions. (The client can be installed on a FAT/FAT32 partition just fine under Windows)
An example of what I am talking about. First from inside Wine just after an attempted install to the destination home directory of "c:\oracle\product\10.2.0\client_1" (starting with a completely clean Wine folder of course):
------------ C:\oracle\product\10.2.0>dir Volume in drive C is Volume Serial Number is 0000-0000
Directory of C:\oracle\product\10.2.0
3/8/2009 10:56 AM <DIR> . 3/8/2009 10:56 AM <DIR> .. 3/8/2009 10:56 AM <DIR> client_1 0 files 0 bytes 3 directories 6,748,340,224 bytes free
C:\oracle\product\10.2.0>cd client_1 Access denied
C:\oracle\product\10.2.0>copy c:\test.txt c:\oracle\product\10.2.0\client_1\test.txt Access denied
C:\oracle\product\10.2.0> ------------
And then from the Ubuntu command prompt:
------------ nathan@bignathan:~/.wine/drive_c/oracle/product/10.2.0$ ls -l total 4 d----wS--- 3 nathan nathan 4096 2009-03-08 10:56 client_1 nathan@bignathan:~/.wine/drive_c/oracle/product/10.2.0$ cp ~/.wine/drive_c/test.txt ~/.wine/drive_c/oracle/product/10.2.0/client_1/test.txt cp: accessing `/home/nathan/.wine/drive_c/oracle/product/10.2.0/client_1/test.txt': Permission denied nathan@bignathan:~/.wine/drive_c/oracle/product/10.2.0$ ------------
And additionally, from the end of the log the Oracle installer creates:
------------ ... INFO: *** Install Page*** INFO: FastCopy : File Version is Compatible INFO: Install mode is fastcopy mode for component 'oracle.client' with Install type 'Administrator'. INFO: HomeSetup JRE files in Scratch :584 INFO: OUI-10125:Unable to write into the Oracle Home you have specified. ------------
I can manually reset the permissions after the fact with chmod, but that doesn't help because the installer just removes the permissions again the next time I run it.
http://bugs.winehq.org/show_bug.cgi?id=17672
James McKenzie jjmckenzie51@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jjmckenzie51@earthlink.net
http://bugs.winehq.org/show_bug.cgi?id=17672
--- Comment #1 from James McKenzie jjmckenzie51@earthlink.net 2009-03-21 20:42:47 --- What version of Java for Windows did you install before running the installer?
http://bugs.winehq.org/show_bug.cgi?id=17672
--- Comment #2 from Nathan Lineback lineback@toastytech.com 2009-03-22 15:16:00 --- I did not install anything else prior to running the Oracle setup (a clean .wine folder). The initial setup program copies its own JRE to a temporary directory and executes the Oracle Universal Installer from there. The JRE version it includes and runs on is 1.4.2_08.
http://bugs.winehq.org/show_bug.cgi?id=17672
--- Comment #3 from Austin English austinenglish@gmail.com 2009-09-22 14:00:20 --- Is this still an issue in current (1.1.29 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=17672
--- Comment #4 from Nathan Lineback lineback@toastytech.com 2009-09-22 18:21:57 --- Yes, retested under 1.1.29 and it still creates a folder that it can not write in to.
http://bugs.winehq.org/show_bug.cgi?id=17672
Ben Peddell klightspeed@netspace.net.au changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |klightspeed@netspace.net.au
--- Comment #5 from Ben Peddell klightspeed@netspace.net.au 2009-12-11 23:46:05 --- (In reply to comment #4)
Yes, retested under 1.1.29 and it still creates a folder that it can not write in to.
Does the latest GIT fix it?
http://bugs.winehq.org/show_bug.cgi?id=17672
--- Comment #6 from Nathan Lineback lineback@toastytech.com 2009-12-13 13:36:17 ---
Does the latest GIT fix it?
Sorry, I don't currently have the stuff set up to build from source. I'll probably have to just wait until the next Wine release to test.
Was there a specific checkin that might change the behavior?
http://bugs.winehq.org/show_bug.cgi?id=17672
--- Comment #7 from Juan Lang juan_lang@yahoo.com 2009-12-13 17:11:18 --- (In reply to comment #6)
Was there a specific checkin that might change the behavior?
Yes, b419df1de48609086c7460fdb5d8a20d119e47ee: http://www.winehq.org/pipermail/wine-cvs/2009-December/062599.html
http://bugs.winehq.org/show_bug.cgi?id=17672
--- Comment #8 from Ben Peddell klightspeed@netspace.net.au 2009-12-19 11:14:50 --- (In reply to comment #6)
Does the latest GIT fix it?
Sorry, I don't currently have the stuff set up to build from source. I'll probably have to just wait until the next Wine release to test.
Was there a specific checkin that might change the behavior?
Wine 1.1.35 (released yesterday) has the fix contained in commit b419df1de48609086c7460fdb5d8a20d119e47ee
http://bugs.winehq.org/show_bug.cgi?id=17672
Nathan Lineback lineback@toastytech.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Nathan Lineback lineback@toastytech.com 2009-12-20 18:42:44 --- I just updated and retested the 10g client and now it installs! The client folder now appears to be properly readable and writable. Also retested the 11g client and that seems to install OK also now.
Note with the 10g client I still had to run setup with "setup -J-Dsun.java2d.noddraw=true" to work around the direct draw issues. It appears the bug for that one is bug#14547 now.
I guess I can go ahead and mark this "resolved". Thanks!
http://bugs.winehq.org/show_bug.cgi?id=17672
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Jeff Zaroyko jeffz@jeffz.name 2010-01-09 04:47:53 --- Closing bugs fixed in 1.1.36.
http://bugs.winehq.org/show_bug.cgi?id=17672
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b419df1de48609086c7460fdb5d | |8a20d119e47ee
https://bugs.winehq.org/show_bug.cgi?id=17672
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |wineserver