LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2004, 04:30 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,185

Rep: Reputation: 45
wine can't write to dir


Hi there i want to know what i can do in the case that all my partitions are not writable from wine because are in ntfs filesystem.

Look in to the configuration file moy
4 [Drive C]
5 "Path" = "/windows/C"
6 "Type" = "hd"
7
8 [Drive D]
9 "Path" = "/fat32"
10 "Type" = "hd"
11
12 [Drive E]
13 "Path" = "/media/cdrom"
14 "Type" = "cdrom"
15 "Device" = "/dev/cdrom"
16
17
18 [wine]
19 "windows" = "C:\\WINNT"
20 "system" = "C:\\WINNT\\SYSTEM"
21 "path" = "C:\\windows;C:\\windows\\system"
22 "temp" = "C:\\temp"
23


and in the errors produced..
wine Ethereal_XTRA.exe
Warning: access to temporary directory '/windows/C/temp' failed (Read-only file
system).
When you are running with a native NT directory specify
'Profile=<profiledirectory>' or disable loading of Windows
registry (LoadWindowsRegistryFiles=N)
err:shell:SHGetFolderPathW Failed to create directory 'L"C:\\WINNT\\Temporary In
ternet Files"'.
err:shell:SHGetFolderPathW Failed to create directory 'L"C:\\WINNT\\History"'.
err:shell:SHGetFolderPathW Failed to create directory 'L"C:\\WINNT\\Cookies"'.

the problem is that can write to windows\temp dir... The programs are started but because no access is permitted to the dir....they end up.
Any suggestion plz?
 
Old 03-22-2004, 04:53 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Make wine have it's own stuff seperate from Windows. Use symbolic links so you don't have to copy the Windows stuff:
(first set the wine 'c:' to /wine/c in the config)
mkdir /wine/c/
mkdir /wine/c/winnt
mkdir /wine/c/winnt/temp
mkdir /wine/c/Program\ Files
(make all the folders that appear in a fresh windows install)

For stuff that you probably won't write too, use symbolic links:
rmdir /wine/c/winnt/system
ln -s /windows/C/winnt/system /wine/c/winnt/system
 
Old 03-22-2004, 09:50 PM   #3
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,185

Original Poster
Rep: Reputation: 45
axa

"(make all the folders that appear in a fresh windows install)"
I know some of them.... Where i can find all the folders created by a clean Windows install?
Thx
 
Old 03-23-2004, 11:27 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Transgaming includes such a template in WineX. You might be able to see what it has from here:
http://linuxfusion.myforums.net/viewtopic.php?t=43
Make all the directories mentioned.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache/PHP can't write to /tmp dir. Niels@debian Linux - Software 2 05-25-2005 04:10 PM
Can't write to home dir. Mirari Linux - General 5 05-22-2005 03:42 PM
Can't write to my home dir Seiken Linux - Newbie 5 02-16-2005 09:42 AM
How to write Makefile in 2.6 for including header files in another dir ? ashbalu Programming 0 10-19-2004 04:45 PM
Wine Problem, cannot write to C: Drive maneeshsethi Linux - Software 13 09-30-2003 11:37 AM


All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration