Kron4ek / Conty

Easy to use unprivileged Linux container packed into a single portable executable
MIT License
766 stars 44 forks source link

Unable to write files to drive Z in Wine #20

Closed Phantop closed 3 years ago

Phantop commented 3 years ago

This is specifically an issue when using mp3tag, wherein I can't write any tags to files. This didn't happen with wine-portable-executable, and I can assume this has to do with Conty being perceived as drive Z under the new setup. Is there a way to work around this?

Kron4ek commented 3 years ago

The problem is that drive Z is a symlink to root partition, which has zero free space under Conty (but this is fine, since /home/username is separate from root and is writable), and mp3tag refuses to write files if it doesn't see enough free space. However, most applications should work fine, only some of them that have strict free space checking (like mp3tag) are affected.

You can work around this by adding a new drive in your Wine prefix and use it instead of Z. For example if your mp3 files are in your home directory, add a new drive linked to $HOME.

cd ~/.wine/dosdevices
ln -s $HOME "k:"

You can also do this in winecfg instead of creating a symlink manually.

So, for instance, instead of Z:\home\username\music use K:\music in mp3tag. This should work for all programs that have the same issue.