|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|