Wineprefix fails to be created on Ntfs unit

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
zeioth
Level 1
Level 1
Posts: 5
Joined: Thu Mar 28, 2019 8:36 am

Wineprefix fails to be created on Ntfs unit

Post by zeioth »

I've performed the next tests:

WINEPREFIX="/my_ext4_hd/prefix/" winecfg
WINEPREFIX="/my_ntfs_hd/prefix/" winecfg

Results:
Ext4: Creates the wineprefix correctly.
Ntfs: Fails to create the wineprefix. Cannot create the files.

Any idea of what can be the cause of this?
Apart from wine, I can read and write any other file normally in my NTFS hd.
Attachments
log.tar.gz
Output of running:
WINEPREFIX="/my_ntfs_hd/prefix/" winecfg
(7.34 KiB) Downloaded 169 times
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wineprefix fails to be created on Ntfs unit

Post by dimesio »

Installing to NTFS is not supported; you must use a native *nix filesystem. Among other things lacking, NTFS does not support *nix-style permissions.
zeioth
Level 1
Level 1
Posts: 5
Joined: Thu Mar 28, 2019 8:36 am

Re: Wineprefix fails to be created on Ntfs unit

Post by zeioth »

Understood, thank you for your response.
mixalis1987
Newbie
Newbie
Posts: 2
Joined: Fri Feb 08, 2019 7:26 pm

Re: Wineprefix fails to be created on Ntfs unit

Post by mixalis1987 »

I found this happening recently, wineprefixes would not be created properly in NTFS drives so i had to format one of my drives into ext4, lucky that drive didnt have anything important lol. So anyway I noticed the problem was because of how files get written to NTFS and file names, On NTFS you can not have files with some characters in them like : and ^ and some others. When WINE creates the prefix it creates a folder "dosdevices" and in that folder it creates other symlinks with names like c: d: g: etc and because they have this character : it will fail to create them or finish the prefix on an NTFS.

However it did work up until recently, no idea why.
zeioth
Level 1
Level 1
Posts: 5
Joined: Thu Mar 28, 2019 8:36 am

Re: Wineprefix fails to be created on Ntfs unit

Post by zeioth »

SOLUTION:
Once I mounted my ntfs-3g disk with the next permissions, everything works fine again.

UUID=uuidofmydisk /run/media/mydisk ntfs-3g uid=1000,gid=1000,umask=077,fmask=177

I suspect that an update in XFCE mounting system messes up things on my end.
I hope this is useful for someone else.
Thank you for your time.
Locked