MLUG: Re: [MLUG] samba access time question
Re: [MLUG] samba access time question
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Tuesday 22 July 2003 09:44 am, you wrote:
> I have a samba 2.2.7 on RH7.2.
> My problem is: when a file is copied  onto the server, it gets atime equal
> to mtime (as Windows knows it).
> If I read it afterwards, the atime is updated, the mtime is not. (as it
> should be).
> The problem is, I need the atime already updated, when the file is created.
> How can I force this?
>
> I think, older versions of samba had this behavior, but I can not verify it
> here.
>
> Any Ideas?
>
> /sven

I do not fully understand your problem as I have never messed with smb 
timestamps before. Could this smb.conf option help?

       dos filetimes (S)
              Under DOS and Windows, if a user  can  write  to  a
              file  they  can  change  the timestamp on it. Under
              POSIX semantics, only the owner of the file or root
              may  change  the  timestamp. By default, Samba runs
              with POSIX semantics  and  refuses  to  change  the
              timestamp  on  a file if the user smbd is acting on
              behalf of is  not  the  file  owner.  Setting  this
              option  to   yes allows DOS semantics and smbd will
              change the file timestamp as DOS requires.

              Default: dos filetimes = no

Mark
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members