http://bugs.winehq.org/show_bug.cgi?id=11145
Summary: Can't install some games/programs on FAT32 partitions Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gerdal@poczta.fm
I can't install some games/programs on FAT32 partitions. This bug (Can't create a file) doesn't appear when I install applications on EXT3 partition. For example this bug shows in installers of: Operation Flashpoint Resistance, Colin McRae Rally 2. Installer of Operation Flashpoint Resistance show bug when it try to copy file: A02Vulcan.ABEL.pbo (sometimes shows a bug on other files o.O).
http://bugs.winehq.org/show_bug.cgi?id=11145
Yolande Haneder yolande@haneder.biz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yolande@haneder.biz
--- Comment #1 from Yolande Haneder yolande@haneder.biz 2008-01-12 07:32:03 --- Welcome in club "I am using Linux and I can't save on a directory not created for/by the wine user" (probably your fat directory belongs to root (/irony))
This is not a bug and will be closed with WON'TFIX quicker than you can read this. This is a feature for the time being as I read from another bug.
http://bugs.winehq.org/show_bug.cgi?id=11145
--- Comment #2 from Xarion gerdal@poczta.fm 2008-01-12 07:57:26 --- Created an attachment (id=10183) --> (http://bugs.winehq.org/attachment.cgi?id=10183) my fstab
http://bugs.winehq.org/show_bug.cgi?id=11145
--- Comment #3 from Xarion gerdal@poczta.fm 2008-01-12 07:58:08 --- Created an attachment (id=10184) --> (http://bugs.winehq.org/attachment.cgi?id=10184) permission in one of directory on FAT32 partition
http://bugs.winehq.org/show_bug.cgi?id=11145
--- Comment #4 from Xarion gerdal@poczta.fm 2008-01-12 07:58:34 --- (In reply to comment #1)
Welcome in club "I am using Linux and I can't save on a directory not created for/by the wine user" (probably your fat directory belongs to root (/irony))
This is not a bug and will be closed with WON'TFIX quicker than you can read this. This is a feature for the time being as I read from another bug.
Sure... I can create a new directory in Total Commander on FAT32 partition, I can copy file from one directory to another, I can delete files from this partition, but I can't install stupid game/program because installer isn't working fine... Yes... partition belongs to root but other groups HAVE a read,write,execute permissions...
http://bugs.winehq.org/show_bug.cgi?id=11145
--- Comment #5 from Yolande Haneder yolande@haneder.biz 2008-01-12 08:16:57 --- It is just what I say. The directory is owned by root, even if you have the full permission.
YOU can save on a FAT because you are saving without using wine. If an installation source wants to install something there, it can only be through Wine and if you are not root the ID on wine will be the one of the user. Now wine has a check and if user ID != owner of the directory (regardless of permission), wine is throwing a fatal error and the saving fails.
Now I have series of functions (now) systematically crashing when they try to save a new temp file in a directory owned by root.
For your reference, you can call it "directory check" and as per 0.9.43 I can not even revert it anymore *arrggh*.
http://bugs.winehq.org/show_bug.cgi?id=11145
--- Comment #6 from Yolande Haneder yolande@haneder.biz 2008-01-12 08:19:51 ---
For your reference, you can call it "directory check" and as per 0.9.43 I can not even revert it anymore *arrggh*.
O.9.53 I mean. And the commit is
8d571e28f1779c82ba91973dc540d0d7ec5ef867 is first bad commit commit 8d571e28f1779c82ba91973dc540d0d7ec5ef867 Author: Paul Millar paul@astro.gla.ac.uk Date: Fri Nov 9 18:07:36 2007 +0100
libwine: Fix naked getuid() to allow compilation under MinGW.
:040000 040000 ee36bfdcf5d65ec8bb1c8ee478e74e0af8679039 9429fc53e7b3108987c33bfef19ff0e710d1f2e3 M libs
You will not notice it if you have things saved before that point because Wine can still read from that directory but not save to it.
http://bugs.winehq.org/show_bug.cgi?id=11145
--- Comment #7 from Xarion gerdal@poczta.fm 2008-01-12 08:31:55 --- (In reply to comment #5)
It is just what I say. The directory is owned by root, even if you have the full permission.
YOU can save on a FAT because you are saving without using wine. If an installation source wants to install something there, it can only be through Wine and if you are not root the ID on wine will be the one of the user. Now wine has a check and if user ID != owner of the directory (regardless of permission), wine is throwing a fatal error and the saving fails.
Now I have series of functions (now) systematically crashing when they try to save a new temp file in a directory owned by root.
For your reference, you can call it "directory check" and as per 0.9.43 I can not even revert it anymore *arrggh*.
Total Commander is running under Wine and in TC I can do everything (without replace one file with another one - TC crashed when I try to do this. I must delete replaced file first) on FAT32 partitions. Most of installers works fine, but some not. For example I can install "Millenium Race" but Operation Flashpoint Resistance crashed. I think, the bug shows when installer try create a file which exist.
http://bugs.winehq.org/show_bug.cgi?id=11145
--- Comment #8 from Yolande Haneder yolande@haneder.biz 2008-01-12 08:39:13 --- In my case when the file already exists, it is skipped and not crashing. Yesterday's patch seems to help but you can't rely on this for long.
Other solution (even if some will argue...) is to make the install as root until you get your file on the FAT partition and use as user.
http://bugs.winehq.org/show_bug.cgi?id=11145
--- Comment #9 from Xarion gerdal@poczta.fm 2008-01-12 08:56:23 --- (In reply to comment #8)
In my case when the file already exists, it is skipped and not crashing. Yesterday's patch seems to help but you can't rely on this for long.
Other solution (even if some will argue...) is to make the install as root until you get your file on the FAT partition and use as user.
You are right. I can install these apps/games only as root. Thanks for help :)
http://bugs.winehq.org/show_bug.cgi?id=11145
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2008-01-12 09:38:39 --- Yolande Haneder, please stop posting incorrect and not helpful comments in this bug. This is not a user support forum, this is bugzilla.
http://bugs.winehq.org/show_bug.cgi?id=11145
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2008-01-12 09:40:19 --- (In reply to comment #0)
I can't install some games/programs on FAT32 partitions. This bug (Can't create a file) doesn't appear when I install applications on EXT3 partition. For example this bug shows in installers of: Operation Flashpoint Resistance, Colin McRae Rally 2. Installer of Operation Flashpoint Resistance show bug when it try to copy file: A02Vulcan.ABEL.pbo (sometimes shows a bug on other files o.O).
Are you able to create files and directories, write to files as an ordinary user in Linux applications to your FAT partition?
http://bugs.winehq.org/show_bug.cgi?id=11145
--- Comment #12 from Xarion gerdal@poczta.fm 2008-01-12 09:46:30 --- (In reply to comment #11)
(In reply to comment #0)
I can't install some games/programs on FAT32 partitions. This bug (Can't create a file) doesn't appear when I install applications on EXT3 partition. For example this bug shows in installers of: Operation Flashpoint Resistance, Colin McRae Rally 2. Installer of Operation Flashpoint Resistance show bug when it try to copy file: A02Vulcan.ABEL.pbo (sometimes shows a bug on other files o.O).
Are you able to create files and directories, write to files as an ordinary user in Linux applications to your FAT partition?
Yes. In wine also. Please read comment #7 I have a problems only in some of apps/games installers.
http://bugs.winehq.org/show_bug.cgi?id=11145
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor
--- Comment #13 from Vitaliy Margolen vitaliy@kievinfo.com 2008-01-12 11:37:08 --- Looks like invalid configuration of the mount point. All files/directories have be owned by you, not root. Fix that and verify if it's working. Minor - fat32 is old obsolete and no longer in use FS.
http://bugs.winehq.org/show_bug.cgi?id=11145
Xarion gerdal@poczta.fm changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |major
--- Comment #14 from Xarion gerdal@poczta.fm 2008-01-12 12:11:59 --- Thx. It works.
http://bugs.winehq.org/show_bug.cgi?id=11145
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #15 from Vijay Kamuju infyquest@gmail.com 2008-01-12 15:21:09 --- closing this as invalid as its related to submitter's fs permissions. And its not a problem with wine
http://bugs.winehq.org/show_bug.cgi?id=11145
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Dan Kegel dank@kegel.com 2008-02-23 10:50:58 --- Closing all invalid bugs more than five weeks old.
http://bugs.winehq.org/show_bug.cgi?id=11145
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified