preserving file attributes in shared folders

This is for discussing general topics about how to use VirtualBox.
Post Reply
bernard05
Posts: 3
Joined: 25. Jun 2010, 15:06
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows XP

preserving file attributes in shared folders

Post by bernard05 »

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 !
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: preserving file attributes in shared folders

Post by Sasquatch »

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.
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

Post by bernard05 »

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 !
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: preserving file attributes in shared folders

Post by Sasquatch »

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.
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

Post by bernard05 »

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.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: preserving file attributes in shared folders

Post by Sasquatch »

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.
Post Reply