WineHQ
Wine Forums

Board index » WineHQ » Wine Help




 Page 1 of 1 [ 5 posts ] 



 
Author Message
 Post Posted: Sat Sep 03, 2011 7:14 am 
Offline
Level 2
Level 2

Joined: Sat Jun 27, 2009 3:19 pm
Posts: 39
Hi. My Documents, My Music, My Pictures, and My Videos aren't visible (but accessible) from C:\users\%USER% . "Desktop", however, is visible.
This breaks precompiled samples from directx SDK 2004. I extracted them to My Documents/Downloads, and they can't find their resources.

This also affects cmd.exe, explorer, total commander.

Anyone else experience this?
Code:
[il@mar2 ~]$ ls -l /home/il/.winetest/drive_c/users/il
total 44
drwxr-xr-x 2 il il 4096 Sep  3 14:15 Application Data
drwxr-xr-x 2 il il 4096 Sep  3 14:15 Cookies
lrwxrwxrwx 1 il il   16 Sep  3 14:15 Desktop -> /home/il/Desktop
drwxr-xr-x 2 il il 4096 Sep  3 14:15 Favorites
drwxr-xr-x 5 il il 4096 Sep  3 14:15 Local Settings
Code:
lrwxrwxrwx 1 il il    8 Sep  3 14:15 My Documents -> /home/il
lrwxrwxrwx 1 il il    8 Sep  3 14:15 My Music -> /home/il
lrwxrwxrwx 1 il il    8 Sep  3 14:15 My Pictures -> /home/il
lrwxrwxrwx 1 il il    8 Sep  3 14:15 My Videos -> /home/il
Code:
drwxr-xr-x 2 il il 4096 Sep  3 14:15 NetHood
drwxr-xr-x 2 il il 4096 Sep  3 14:15 PrintHood
drwxr-xr-x 2 il il 4096 Sep  3 14:15 Recent
drwxr-xr-x 2 il il 4096 Sep  3 14:15 SendTo
drwxr-xr-x 3 il il 4096 Sep  3 14:15 Start Menu
drwxr-xr-x 2 il il 4096 Sep  3 14:15 Temp
drwxr-xr-x 2 il il 4096 Sep  3 14:15 Templates


Code:
[il@mar2 ~]$ echo $WINEPREFIX
/home/il/.winetest
[il@mar2 ~]$ wine cmd /c "dir" "C:\users\il"
Volume in drive C is
Volume Serial Number is 0000-0000

Directory of C:\users\il

  9/3/2011   1:15 PM  <DIR>         .
  9/3/2011   1:15 PM  <DIR>         ..
  9/3/2011   1:15 PM  <DIR>         Application Data
  9/3/2011   1:15 PM  <DIR>         Cookies
  9/3/2011  12:26 PM  <DIR>         Desktop
  9/3/2011   1:15 PM  <DIR>         Favorites
  9/3/2011   1:15 PM  <DIR>         Local Settings
  9/3/2011   1:15 PM  <DIR>         NetHood
Code:
  9/3/2011   1:15 PM  <DIR>         PrintHood
  9/3/2011   1:15 PM  <DIR>         Recent
  9/3/2011   1:15 PM  <DIR>         SendTo
  9/3/2011   1:15 PM  <DIR>         Start Menu
  9/3/2011   1:15 PM  <DIR>         Temp
  9/3/2011   1:15 PM  <DIR>         Templates
       0 files                        0 bytes
      14 directories      5,583,409,152 bytes free

[il@mar2 ~]$


Top 
 Post subject:
 Post Posted: Sat Sep 03, 2011 7:45 am 
Offline
Level 8
Level 8

Joined: Fri Feb 29, 2008 2:54 am
Posts: 1020
Sorry to say this but this is a Stiff briskets issue.

Since

Quote:
lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Documents -> /home/il
lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Music -> /home/il
lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Pictures -> /home/il
lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Videos -> /home/il


All point to the same location. Users home directory.

Open up winecfg go to desktop integration change My Documents to point to like /home/il/Documents and it will magically appear. Or you might decide to give wine its own documents directory and again it will magically appear.

When they are pointing to the generic user home directory they auto pull the disappearing act. Mostly to motivate people to configure them to point to your document store and so on.

Yes you really don't want windows applications accessing the straight home directory if you can avoid it.

Yes if you point Desktop to /home/il it will disappear from existence as well.

lenivity the trick to non experienced basically. Its not that they are links that it special is the path the link is pointing to.


Top 
 Post Posted: Sat Sep 03, 2011 11:08 am 
Offline
Moderator
Moderator

Joined: Sat Feb 23, 2008 2:29 pm
Posts: 6605
leniviy wrote:
Hi. My Documents, My Music, My Pictures, and My Videos aren't visible (but accessible) from C:\users\%USER% . "Desktop", however, is visible.

That is intentional. Wine does note enumerate symlinks that point to parent directories:
Code:
$ WINEDEBUG=warn+file wine cmd /c dir 'c:\users\vitaliy'
Volume in drive C is
Volume Serial Number is 0000-0000

warn:file:check_dir_symlink suppressing dir symlink L"\\??\\C:\\users\\vitaliy\\My Videos" pointing to parent "/home/vitaliy"
warn:file:check_dir_symlink suppressing dir symlink L"\\??\\C:\\users\\vitaliy\\My Music" pointing to parent "/home/vitaliy"
warn:file:check_dir_symlink suppressing dir symlink L"\\??\\C:\\users\\vitaliy\\My Pictures" pointing to parent "/home/vitaliy"


I'm guessing this is worth a bug report. As a work around, like oiaohm mentioned, you can convert them into real directories with winecfg.


Top 
 Post subject:
 Post Posted: Sat Sep 03, 2011 5:28 pm 
Offline
Level 8
Level 8

Joined: Fri Feb 29, 2008 2:54 am
Posts: 1020
Might be worth a bug report to request ~/Documents as My Documents and so on.

Since it does get away from some badly behaved open source program ported to windows that put there . directories in the My Documents directory. Not that you really should be running those programs in wine in the first place.


Top 
 Post subject:
 Post Posted: Sat Sep 03, 2011 5:55 pm 
Offline
Level 8
Level 8

Joined: Tue Jul 14, 2009 1:21 pm
Posts: 1227
oiaohm wrote:
Might be worth a bug report to request ~/Documents as My Documents and so on.

Since it does get away from some badly behaved open source program ported to windows that put there . directories in the My Documents directory. Not that you really should be running those programs in wine in the first place.


its easy to call a home folder variable... but not every distro, or other OS uses the same folder names for those things... even if they worked it out for everything... a lot of people don;t even want them there and want to put them manually elsewhere. Why not just set winecfg how you want it and then your good to go?


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 5 posts ] 




Board index » WineHQ » Wine Help


Who is online

Users browsing this forum: No registered users and 5 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: