preserving file attributes in shared folders

This is for discussing general topics about how to use VirtualBox.

preserving file attributes in shared folders

Postby bernard05 » 25. Jun 2010, 17:15

Hi. I have installed a Windows XP guest on a Ubuntu host, with shared folders. These shared folders work ok, except that date/time attributes are lost when I copy a file into a shared folder.
Is there a way to work around that problem ?
Many thanks !
bernard05
 
Posts: 3
Joined: 25. Jun 2010, 15:06
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows XP

Re: preserving file attributes in shared folders

Postby Sasquatch » 26. Jun 2010, 01:16

What date info are you talking about? File creation date, modification date, last accessed time? Aren't most of those values different when you copy it to a different location?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: preserving file attributes in shared folders

Postby bernard05 » 19. Jul 2010, 12:00

Sasquatch wrote:What date info are you talking about? File creation date, modification date, last accessed time? Aren't most of those values different when you copy it to a different location?

Hi,
I am talking about the modification date, which normally is unchanged when I copy a file through any of the file managers that I use, in Ubuntu or Win XP. Only when a file is copied to a \\VBOXSVR\..... drive in the Win XP host of my Virtual Box, does its modif. date changes. This is very annoying since I then loose the date at which this file was last edited. Thanks for your help in solving this pb !
bernard05
 
Posts: 3
Joined: 25. Jun 2010, 15:06
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows XP

Re: preserving file attributes in shared folders

Postby Sasquatch » 19. Jul 2010, 20:35

What happens if you set up a Samba share on the Host and connect to it with your Windows VM and put files in it? Does the date information change too? It's quite possible that Windows changes this information when dealing with network locations.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: preserving file attributes in shared folders

Postby bernard05 » 20. Jul 2010, 11:36

Sasquatch wrote:What happens if you set up a Samba share on the Host and connect to it with your Windows VM and put files in it? Does the date information change too? It's quite possible that Windows changes this information when dealing with network locations.

No, Windows normally does not change this info through network drives. I have network drives on the WinXP guest, and I also tested a Samba access to the Ubuntu host, in all cases original modification dates are preserved.
bernard05
 
Posts: 3
Joined: 25. Jun 2010, 15:06
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows XP

Re: preserving file attributes in shared folders

Postby Sasquatch » 21. Jul 2010, 23:08

Create a ticket in the Bugtracker (separate account needed) and link to this topic, while explaining the exact problem. This sounds like a bug, or at least something that should be changed.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux


Return to Using VirtualBox

Who is online

Users browsing this forum: No registered users and 16 guests