PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > A question about "Timestamp" and "Created Time"
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

A question about "Timestamp" and "Created Time"

Réponse
 
LinkBack Outils de la discussion
Vieux 01/12/2006, 12h30   #1
Eduardo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut A question about "Timestamp" and "Created Time"

Hi, I have a FTP server that is outside my company and the users on my
network (inside the company) must put their files at this FTP vwith
the of a NFS mounted directory that I shared with SAMBA.

But when anyone puts a file in there, or even if I transfer the file
using SFTP, the "Created Time" attribute changes to the current date.

And when anyone puts a file via FTP, the "Created Time" changes too.

Does anybody knows how can I keep it to original??

Thanks


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 01/12/2006, 13h00   #2
Matus UHLAR - fantomas
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: A question about "Timestamp" and "Created Time"

On 01.12.06 10:22, Eduardo wrote:
> Hi, I have a FTP server that is outside my company and the users on my
> network (inside the company) must put their files at this FTP vwith
> the of a NFS mounted directory that I shared with SAMBA.
>
> But when anyone puts a file in there, or even if I transfer the file
> using SFTP, the "Created Time" attribute changes to the current date.
>
> And when anyone puts a file via FTP, the "Created Time" changes too.
>
> Does anybody knows how can I keep it to original??


linux and unix filesystems do not support "created time". They are emulated
using the "last-modified" timestamp.
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
42.7 percent of all statistics are made up on the spot.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 01/12/2006, 13h30   #3
Eduardo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: A question about "Timestamp" and "Created Time"

Yeap, anyways...the "Last Modified" is in the current date too, any ideas?




On 12/1/06, Matus UHLAR - fantomas <uhlar@fantomas.sk> wrote:
> On 01.12.06 10:22, Eduardo wrote:
> > Hi, I have a FTP server that is outside my company and the users on my
> > network (inside the company) must put their files at this FTP vwith
> > the of a NFS mounted directory that I shared with SAMBA.
> >
> > But when anyone puts a file in there, or even if I transfer the file
> > using SFTP, the "Created Time" attribute changes to the current date.
> >
> > And when anyone puts a file via FTP, the "Created Time" changes too.
> >
> > Does anybody knows how can I keep it to original??

>
> linux and unix filesystems do not support "created time". They are emulated
> using the "last-modified" timestamp.
> --
> Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> 42.7 percent of all statistics are made up on the spot.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 01/12/2006, 14h30   #4
Juha Tuuna
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: A question about "Timestamp" and "Created Time"

On Friday, 1. December 2006 15:25, Eduardo wrote:
> Yeap, anyways...the "Last Modified" is in the current date too, any ideas?

This solution may be quite lame and difficult to implement but you could use
extended attributes on some filesystems. See package attr and man pages for
mount.

--
-=[JT]=-


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 01/12/2006, 19h20   #5
Matus UHLAR - fantomas
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: A question about "Timestamp" and "Created Time"

On 01.12.06 11:25, Eduardo wrote:
> Yeap, anyways...the "Last Modified" is in the current date too, any ideas?


if you modify a file, the 'last modified' time is set to actual time. You
would need extension that will change the time to the one client provides.
Note that basic FTP protocol does not support time changes. Maybe there's an
FTP extension (I'm not sure) but the client and server both will have to
support it.

> On 12/1/06, Matus UHLAR - fantomas <uhlar@fantomas.sk> wrote:
> >On 01.12.06 10:22, Eduardo wrote:
> >> Hi, I have a FTP server that is outside my company and the users on my
> >> network (inside the company) must put their files at this FTP vwith
> >> the of a NFS mounted directory that I shared with SAMBA.
> >>
> >> But when anyone puts a file in there, or even if I transfer the file
> >> using SFTP, the "Created Time" attribute changes to the current date.
> >>
> >> And when anyone puts a file via FTP, the "Created Time" changes too.
> >>
> >> Does anybody knows how can I keep it to original??

> >
> >linux and unix filesystems do not support "created time". They are emulated
> >using the "last-modified" timestamp.


--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
99 percent of lawyers give the rest a bad name.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 02/12/2006, 02h10   #6
Bill Marcum
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: A question about "Timestamp" and "Created Time"

On Fri, Dec 01, 2006 at 10:22:08AM -0200, Eduardo wrote:
> Hi, I have a FTP server that is outside my company and the users on my
> network (inside the company) must put their files at this FTP vwith
> the of a NFS mounted directory that I shared with SAMBA.
>
> But when anyone puts a file in there, or even if I transfer the file
> using SFTP, the "Created Time" attribute changes to the current date.
>
> And when anyone puts a file via FTP, the "Created Time" changes too.
>
> Does anybody knows how can I keep it to original??
>

Always upload files as zip or tar files. When the files are extracted
they will have the original timestamps.


--
This sentence contradicts itself -- no actually it doesn't.
-- Douglas Hofstadter


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h03.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13954 seconds with 14 queries