[Bug 17672] New: Wine denies access to Oracle Client install folder
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Mar 10 19:04:27 CDT 2009
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 at winehq.org
ReportedBy: lineback at 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/10201winsoft.html
) 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 at 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 at 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 at 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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list