wine: /intended/PREFIXdirectory/not owned by you

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Indubitableness
Level 1
Level 1
Posts: 5
Joined: Thu Jul 23, 2009 9:12 am

wine: /intended/PREFIXdirectory/not owned by you

Post by Indubitableness »

I am attempting to create a folder for my wineprefixes on my external hard disk. The plan is to symlink to that location from inside my user folder (ie. ~/.wine/PREFIXES -> $iomega/.wineprefixes)
For reference:
$iomega=/media/Iomega_HDD
This is a 400GB external drive with a single NTFS partition.

The plan is to create folders for all my WINEPREFIXes at $iomega/.wineprefixes
(Example: $iomega/.wineprefixes/Blizzard)

I keep getting the following error: wine: /media/Iomega_HDD/.wineprefixes is not owned by you

Okay, I figure, I'll make sure it's owned by me.

chown -R indubitableness.users $iomega/.wineprefixes

No go. Same error. Why is this happening? I'm seeing some posts that seem to imply that maybe wine just simply doesn't support making Prefixes outside of one's user folder. I really hope this isn't the case as I keep losing all my installed games every time I break my linux installs (every time I try some new unfamiliar advanced thing I have no qualifications for messing around with) and putting my prefixes on my back up drive would be the perfect solution.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

wine: /intended/PREFIXdirectory/not owned by you

Post by austin987 »

On Thu, Jul 23, 2009 at 9:51 AM,
Indubitableness<[email protected]> wrote:
I am attempting to create a folder for my wineprefixes on my external hard disk. The plan is to symlink to that location from inside my user folder (ie. ~/.wine/PREFIXES -> $iomega/.wineprefixes)
For reference:
$iomega=/media/Iomega_HDD
This is a 400GB external drive with a single NTFS partition.

The plan is to create folders for all my WINEPREFIXes at $iomega/.wineprefixes
(Example: $iomega/.wineprefixes/Blizzard)

I keep getting the following error: wine: /media/Iomega_HDD/.wineprefixes is not owned by you

Okay, I figure, I'll make sure it's owned by me.

chown -R indubitableness.users $iomega/.wineprefixes

No go. Same error. Why is this happening? I'm seeing some posts that seem to imply that maybe wine just simply doesn't support making Prefixes outside of one's user folder. I really hope this isn't the case as I keep losing all my installed games every time I break my linux installs (every time I try some new unfamiliar advanced thing I have no qualifications for messing around with) and putting my prefixes on my back up drive would be the perfect solution.
Wine doesn't limit prefixes to just your home folder. It's not the
cause of your problems, but you shouldn't be using an NTFS partition
for wine, it can cause problems.

Is the partition mounted noexec?

--
-Austin
Indubitableness
Level 1
Level 1
Posts: 5
Joined: Thu Jul 23, 2009 9:12 am

Post by Indubitableness »

This is how the partition is mounted. This is from the fstab

/dev/sdb1 /media/Iomega_HDD ntfs-3g umask=000 1 0

I also thought maybe that NTFS would cause problems, but in this case I don't have a lot of choice. This is a shared backup drive for windows and linux and I am unwilling to shrink it and make further partitions, although I could.

I've found a different solution. I'm making wine prefixes and backing them up on this drive as tar.gz files. It's still not what I wanted to do, but it's perfectly viable. If anyone knows why I'm getting this error I would still love to find out and would appreciate the help but it's no longer vitally important for my plan.
Indubitableness
Level 1
Level 1
Posts: 5
Joined: Thu Jul 23, 2009 9:12 am

Post by Indubitableness »

Oh and Thank you Austin.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

wine: /intended/PREFIXdirectory/not owned by you

Post by austin987 »

Just to be sure, what does ls -al $iomega show?

--
-Austin
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: wine: /intended/PREFIXdirectory/not owned by you

Post by vitamin »

Indubitableness wrote: ~/.wine/PREFIXES -> $iomega/.wineprefixes
You can't do that. WINEPREFIX have to point to the real directory. This is hard-coded requirement.

You can always put your "virtual c:" drive where you want to. And if it's NTFS be ready for all sorts of issues.
Gert van den Berg

wine: /intended/PREFIXdirectory/not owned by you

Post by Gert van den Berg »

On Thu, Jul 23, 2009 at 23:35, Indubitableness<[email protected]> wrote:
This is how the partition is mounted. This is from the fstab

/dev/sdb1        /media/Iomega_HDD ntfs-3g     umask=000        1   0

I also thought maybe that NTFS would cause problems, but in this case I don't have a lot of choice. This is a shared backup drive for windows and linux and I am unwilling to shrink it and make further partitions, although I could.
Sometinhg else that might be possible, is to create a file on the NTFS
partition, run mkfs on the file and mount it with a -o loop. That way
you could have an ext[234] / reiserfs mount using space from the NTFS
partition.

This has an example: (loadmin is not really needed AFAIK)
http://www.ibm.com/developerworks/linux ... ilesystem/

Gert
Locked