Re: Date/time stamps on files copied via LanMan98
- From: Theo Markettos <theom+news@xxxxxxxxxxxxxxxxxxxxxx>
- Date: 23 Dec 2008 19:20:25 +0000 (GMT)
druck <news@xxxxxxxxxxxxxxxx> wrote:
No that isn't the case even when working locally with FAT filing
systems on the EEE. If you perform a copy from filer or command line
it will set the creation date to the current date. There is a flag on
the cp command to preserve creation dates, but it is only honored when
running as root.
Are you sure about the need to be root? The usual Unix behaviour is to
restamp copied files, but I use cp -a to copy attributes too. -a is
equivalent to -d -r -p. It may complain because it can't set the ownership
to be the same (FAT has no concept of ownership or group permissions)
but even if there are error messages the timestamps should be copied over.
Linux has no problem setting dates in the past: I have some Acorn internal
files on my website that came out of archives dated 1989 and they have 1989
dates on the server:
http://www.chiark.greenend.org.uk/~theom/riscos/docs/
That's on ext3, but I've never heard of other filesystems complaining.
Theo
.
- Follow-Ups:
- Re: Date/time stamps on files copied via LanMan98
- From: druck
- Re: Date/time stamps on files copied via LanMan98
- From: Dave Higton
- Re: Date/time stamps on files copied via LanMan98
- References:
- Date/time stamps on files copied via LanMan98
- From: Dave Higton
- Re: Date/time stamps on files copied via LanMan98
- From: druck
- Re: Date/time stamps on files copied via LanMan98
- From: Dave Higton
- Re: Date/time stamps on files copied via LanMan98
- From: druck
- Date/time stamps on files copied via LanMan98
- Prev by Date: Re: Date/time stamps on files copied via LanMan98
- Next by Date: Re: Date/time stamps on files copied via LanMan98
- Previous by thread: Re: Date/time stamps on files copied via LanMan98
- Next by thread: Re: Date/time stamps on files copied via LanMan98
- Index(es):
Relevant Pages
|